升级到 12.04 时如何解决 pkgProblemResolver 错误?

升级到 12.04 时如何解决 pkgProblemResolver 错误?

我正在尝试将我的机器从 10.04 升级到 12.04 LTS,但出现以下错误。执行此操作时,GUI 和终端中都出现相同的错误dist-upgrade

E:Error, pkgProblemResolver::Resolve generated breaks, 
  this may be caused by held packages.

我尝试删除libcv-dev 正如这篇博文的评论中所建议的那样但我没有libcv-dev在我的计算机上安装。

Package libcv-dev is not installed, so not removed

内容的 pastebin 链接为/var/log/dist-upgrade/apt.log-http://pastebin.com/2GTRYNAY

我该如何解决错误并将我的机器升级到 12.04?

我尝试过以下答案中给出的解决方案,但对我没有用:

这些是这些答案中提到的命令的终端输出:

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ sudo apt-get remove evolution-plugins
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package evolution-plugins is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

答案1

快速读取Ubuntu桌面升级因此,如果您当前安装的不是 10.04 LTS 版本,那么首先您应该升级到 11.10 版本,然后升级到 12.04 LTS 版本。

此错误看起来像“未满足的依赖关系问题”。
可能的常见解决方案是:
1. 清理您的源列表和 APT 缓存,只留下“真正的” Lucid 源。2
. 升级您的发行版。

在这里找到很好的答案:如何从 10.04 或 11.10 升级到 12.04?

答案2

怎么样...

sudo apt-get update
sudo apt-get install update-manager-core
sudo do-release-upgrade

相关内容