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

分享于 

1分钟阅读

ubuntu

  繁體

问题

无法从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



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


答案1

grep Broken /var/log/dist-upgrade/apt.log 与gnuplot相关,

我使用Synaptic删除了系统上安装的两个gnuplot包,然后关闭Synaptic,

然后do-release-upgrade,可以工作了。


答案2

删除mplayer2解决了这个问题,并允许升级继续。



CAL  APT