从 21.10 升级到 22.04 时出现问题

从 21.10 升级到 22.04 时出现问题

在尝试使用以下命令升级 21.10 时,我被告知“安装所有可用更新”。

$ sudo apt update
Hit:1 http://au.archive.ubuntu.com/ubuntu impish InRelease
Hit:2 http://au.archive.ubuntu.com/ubuntu impish-updates InRelease
Hit:3 http://au.archive.ubuntu.com/ubuntu impish-backports InRelease
Hit:4 http://au.archive.ubuntu.com/ubuntu impish-proposed InRelease
Hit:6 http://security.ubuntu.com/ubuntu impish-security InRelease            
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
$ 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:
  libnetsnmptrapd40 libsnmp-dev libsnmp40
0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.
$ sudo do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

看起来 libnetsnmptrapd40、libsnmp-dev 和 libsnmp40 这三个软件包阻碍了升级。我还需要做什么?

我该如何克服这个问题?

答案1

问题出在 HPLIP 上。删除它后一切正常。

相关内容