无法从 14.04 升级到 16.04。无法计算升级。计算升级时出现无法解决的问题

pas*_*kov 18 upgrade apt 14.04 16.04

无法从 14.04 升级到 16.04。我正在尝试sudo do-release-upgrade,但失败并出现以下错误:

Calculating the changes

Could not calculate the upgrade 

An unresolvable problem occurred while calculating the upgrade. 

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 ubuntu-release-upgrader-core' in a terminal. 


Restoring original system state
Run Code Online (Sandbox Code Playgroud)

/var/log/dist-upgrade/main.log https://www.dropbox.com/s/3gf1tg8uxmn75jq/main.log?dl=0 /var/log/dist-upgrade/apt.log https://www .dropbox.com/s/79i2mf320pvg3bl/apt.log?dl=0

我不明白为什么包管理器无法解决这个问题以及这个问题的根源是什么包。

感谢任何帮助。

小智 20

我在完全更新的 14.04 LTS 系统上使用“关于这台计算机”>“升级”路线遇到了同样的问题。我有来自很多替代存储库的软件,一些帖子表明可能导致了问题。

grep Broken /var/log/dist-upgrade/apt.log 报告了 163 行,其中许多与 gnuplot 相关。我注意到其他一些帖子将 gnuplot 报告为一个问题。

我使用 Synaptic 删除了系统上安装的两个 gnuplot 包,然后关闭了 Synaptic。有趣的是,当在 Synaptic 中使用 'installed(upgradeable)' 进行过滤时,只有这两个包出现(gnuplot 和 gnuplotX11)并且在复选框中都有一个感叹号。

然后do-release-upgrade工作了。

  • Ty @Pholorian,但我不使用 gnuplot 并且 ```grep Broken /var/log/dist-upgrade/apt.log``` 返回 700 多行。 (5认同)
  • 我也是。Pholorian 的 `grep` 提到了几个 gnuplot 包。在我`apt-get remove`d 它们之后,`do-release-upgrade` 的错误消失了。 (2认同)