Guf*_*oru 5 updates command-line apt
如果我在 Ubuntu 上执行更新:
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
我只进行更新,这些更新在某些文件中指定。这个文件是什么?(抱歉,如果该主题已经重复)
也许我会把我的问题说得更清楚一些。我搜索一个文件,其中给出了我的更新的所有路径
阅读 apt-get 手册页会给你答案。
man apt-get
update
update is used to resynchronize the package index files from their
sources. The indexes of available packages are fetched from the
location(s) specified in /etc/apt/sources.list. For example, when
using a Debian archive, this command retrieves and scans the
Packages.gz files, so that information about new and updated
packages is available. An update should always be performed before
an upgrade or dist-upgrade. Please be aware that the overall
progress meter will be incorrect as the size of the package files
cannot be known in advance.
Run Code Online (Sandbox Code Playgroud)
也就是说,从文件或目录apt-get update中找到的所有存储库中获取包列表,并使用有关最新版本的包及其依赖项的信息更新本地数据库。/etc/apt/sources.list/etc/apt/sources.list.d