sudo apt-get update 每次都给我相同的列表

sudo apt-get update 每次都给我相同的列表

我通过以下命令进行升级:

sudo apt-get upgrade

更新完成后,结果是一样的;下次我运行该命令时,会出现相同的结果,如下所示:

Ign http://security.ubuntu.com trusty-security InRelease
.
.
.
Ign http://in.archive.ubuntu.com trusty-proposed/universe Translation-en_IN
Fetched 217 kB in 1min 21s (2,648 B/s)
Reading package lists... Done

我搜索了解决方案,但似乎只有我一个人遇到这个问题。如果这个问题重复了,有人能给我一个原始问题的链接吗?

答案1

apt-get update 从存储库下载软件包列表,并更新获取软件包及其依赖项的最新版本信息。它将针对所有存储库和 PPA 执行此操作。

man apt-get

Used to re-synchronize the package index files from their sources. The indexes of
available packages are fetched from the location(s) specified in /etc/apt
/sources.list(5). An update should always be performed before an upgrade or dist-upgrade.

所以基本上它只显示已更新的存储库

来源

相关内容