Ubuntu 中更新的软件包列表文件

Ubuntu 中更新的软件包列表文件

如果我在 Ubuntu 上执行更新:

sudo apt-get update

我只进行某些文件中指定的更新。这个文件是什么?(抱歉,如果此主题已经重复)

也许我应该把我的问题表述得更清楚一些。我搜索一个文件,其中给出了我更新的所有路径

答案1

阅读 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.

也就是说,从文件或目录apt-get update中找到的所有存储库中获取包列表,并使用有关包及其依赖项的最新版本的信息更新本地数据库。/etc/apt/sources.list/etc/apt/sources.list.d

相关内容