我正在尝试升级我的 Kubuntu Wily 15.10 计算机,但是失败了。
我正在这样做:
$ sudo do-release-upgrade -m desktop
这是我得到的:
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.
我在以下网址找到了它/var/log/dist-upgrade/main.log
:
2016-04-29 10:29:09,024 DEBUG need_server_mode(): run in 'desktop' mode, (because of key deps for 'kubuntu-desktop')
2016-04-29 10:29:16,112 DEBUG Installing 'xserver-xorg-video-all' (Distro KeepInstalledPkgs rule)
2016-04-29 10:29:16,559 ERROR Dist-upgrade failed: 'E:Unable to correct problems, you have held broken packages.'
2016-04-29 10:29:16,560 DEBUG abort called
2016-04-29 10:29:16,576 DEBUG openCache()
2016-04-29 10:29:16,576 DEBUG failed to SystemUnLock() (E:Not locked)
2016-04-29 10:29:20,464 DEBUG /openCache(), new cache size 78719
2016-04-29 10:29:20,464 DEBUG enabling apt cron job
我能做些什么?
答案1
我可以解决。我遵循这个答案的建议:https://askubuntu.com/a/367329/483417
我所做的是:
sudo apt-get remove xserver-xorg-video-all
sudo do-release-upgrade -m desktop
我等待升级结束并重新启动计算机。之后,Kubuntu 启动顺利。图形也配置好了。我认为这是因为我有一块 nvidia 显卡,驱动程序升级重新安装了所有内容,甚至xserver-xorg-video-all
。
最后,我的 Kubuntu 是 Xenial :-)