从 11.10 升级到 12.04;无法计算升级?

从 11.10 升级到 12.04;无法计算升级?

因此,我尝试使用更新管理器从 Onereic 升级到 Pangolin。很好。只是我在"Setting new software channels"阶段中遇到了这个错误;

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.



This can be caused by:
 * Upgrading to a pre-release version of Ubuntu
 * Running the current pre-release version of Ubuntu
 * Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug using the command 'ubuntu-bug update-manager' in a terminal. 

我确实有很多 PPA,但我已禁用它们。有人告诉我对它们全部使用 ppa-purge,但我认为我做得不对。请记住,我已成功从 11.04 升级到 11.10,并且已激活所有这些 PPA。有什么提示吗?

答案1

打开终端并运行以下命令:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get do-release-upgrade

然后重试。

相关内容