apt 显示 2 个软件包未升级,我怎么知道是哪些?

apt 显示 2 个软件包未升级,我怎么知道是哪些?

apt报告说有 2 个包未升级,但没有告诉我是哪些。apt list --upgradable什么也没有显示。

我尝试了 以及apt update。没有运气。日志如下。apt upgradeapt dist-upgrade

另外:还有一个相关的线关于如何解决问题,但它假设apt会通知我它保留了哪些包。


user@myLaptop:~$ sudo apt update
... # long list of successful pulls 
Fetched 109 kB in 3s (36.1 kB/s)                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
user@myLaptop:~$ 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.
user@myLaptop:~$ sudo apt dist-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.
user@myLaptop:~$ sudo apt list --upgradeable
Listing... Done
user@myLaptop:~$ sudo apt-show-versions | grep upgrad
python3-distupgrade:all/focal-updates 1:20.04.32 uptodate
ubuntu-release-upgrader-core:all/focal-updates 1:20.04.32 uptodate
ubuntu-release-upgrader-gtk:all/focal-updates 1:20.04.32 uptodate
unattended-upgrades:all/focal-updates 2.3ubuntu0.1 uptodate

相关内容