当我尝试从Ubuntu Gnome 13.10升级到Ubuntu 14.04时,升级应用程序失败并显示以下消息:
Could not calculate the upgrade.
An unresolvable problem occurred while calculating the upgrade.`
这是完整的日志:
$ cat /etc/issue
Ubuntu 13.10 \n \l
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo do-release-upgrade
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Calculating the changes
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
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
我想念什么吗?还是只是一个错误?
更新:我分析了日志文件,发现该文件do-release-upgrade
抱怨某些过时的软件包。
$ cat /var/log/dist-upgrade/main.log | grep Obsolete
2014-04-28 09:16:23,678 DEBUG Obsolete: flashplugin-nonfree-extrasound:i386 (..)
删除那些软件包后,我就可以继续进行升级了。
查找/var/log
具有更多详细信息的发行升级日志文件。
错误消息说明:
This can be caused by: ... * Unofficial software packages not provided by Ubuntu
那么,您是否安装了PPA中的任何软件,或者您编辑了任何默认源?如果是这样,那可能就是问题所在。禁用任何PPA或其他第三方存储库,然后重试。如果仍然无法正常工作,则可能需要卸载某些软件包或将其替换为官方软件仓库中的版本。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句