如何修复/恢复已停止的 do-release-upgrade

如何修复/恢复已停止的 do-release-upgrade

我尝试使用 do-release-upgrade 从 16.04 升级到 16.10,但中途不得不停止。我现在无法恢复。

 ~  iitpi sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found
 ✘  ~  iitpi sudo apt upgrade       
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
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:
 python3-aptdaemon.pkcompat : Conflicts: packagekit
                              Conflicts: packagekit:i386
E: Broken packages

答案1

对我来说,它修复了一个简单的

apt update
apt install python3-aptdaemon

然后apt upgrade一切看上去都很好。

相关内容