几天来我一直遇到这个问题。当我运行时,sudo apt update
它说
1 package can be upgraded. Run 'apt list --upgradable' to see it.
输出sudo apt list --upgradable -a
为
[NAME]/unknown 3.1.2-2.1 amd64 [upgradable from: 3.0.1-19.1]
[NAME]/now 3.0.1-19.1 amd64 [installed,upgradable to: 3.1.2-2.1]
但sudo apt upgrade
说没有什么可升级的
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
我甚至不明白它是否依赖于 Ubuntu 17.04 64 位版本或软件包存储库。更奇怪的是,它sudo apt-get update
没有显示我有 1 个软件包需要升级,而是sudo apt-get upgrade
说
The following packages have been kept back:
[NAME]
解决方案:经过几次尝试(全部失败)后,我决定重新安装 Ubuntu,现在一切都很好。