我收到这条消息:
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
我如何找出哪些软件包没有升级,为什么?
在像这样的许多类似输出上,它还会打印 sth like The following packages have been kept back:
,但在我这里不是这样。
此外:
$ sudo apt list --upgradable
Listing... Done
此外:
sudo apt-get dist-upgrade --dry-run
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
和:
sudo apt-get full-upgrade --dry-run
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
apt-cache policy
在这里登录。
不会升级的两个包是固定的,以防止它们被升级。
从
apt-cache policy
输出的末尾: