为什么终端说 0 已升级 - 当 sudo update 说 2 可以升级时?

为什么终端说 0 已升级 - 当 sudo update 说 2 可以升级时?

sudo apt update -- 说

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.

但 sudo apt upgrade 显示

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  grub-efi-amd64-bin grub-efi-amd64-signed
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

为什么其中 2 个包没有升级,而以下包却被保留了下来?

答案1

这很可能是因为 Ubuntu 22.04 正在尝试“分阶段更新”,这意味着你实际上不会得到立即更新。相反,它会分“阶段”向计算机提供更新,这意味着您将在几天内获得更新。只需等待即可。

相关内容