我使用的是 Ubuntu 19.10,无法升级到 20.04。
当我运行时,sudo apt upgrade
我收到以下响应:
The following packages have been kept back:
libsnmp30
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
apt list --upgradable
给了我这个:
libsnmp30/eoan 5.7.3+dfsg-5ubuntu5 amd64 [upgradable from: 5.7.3+dfsg-1.8ubuntu3.3]
我试过逃跑,sudo apt-get --with-new-pkgs upgrade
但没有成功。
跑步sudo apt-get install libsnmp30
让我:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libsnmp30 : Depends: libsensors5 (>= 1:3.5.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
然后尝试运行sudo apt-get install libsensors5
,结果显示:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libsensors5 : Depends: libsensors-config but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt --fix-broken install
也不起作用。
我该如何解决这个问题才能更新到 20.04?谢谢!