我尝试通过 Muon Updater 将 Kubuntu 14.10 更新到 15.4。在安装过程中(准确地说是在安装 cups 时),muon 窗口冻结了。我想这可能是因为我需要接受某些 EULA,但是没有弹出任何窗口,我无法按下“终端”按钮,因为应用程序被冻结了。所以我终止了 muon 窗口。但现在 muon 无法再次打开,当我尝试通过 konsole 进行更新时,我得到:
~$ sudo kubuntu-devel-release-upgrade
Error: "/var/tmp/kdecache-IamTheUser" is owned by uid 1000 instead of uid 0.
New Release of Ubuntu is searched for
No new Release found
或者:
~$ sudo do-release-upgrade
[sudo] password for ...:
New Release of Ubuntu is searched for
No new Release found
还:
~$ muon-updater
muon-updater: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
和:
~$ sudo muon
muon: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
此外,按下 Ctrl + Esc 并搜索包含“muon”的进程没有任何结果。
由于我之前执行的错误
~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
但是如果我调用系统设置,我会收到错误(翻译成英文):
The command cannot be executed. The file or folder file:///usr/share/applications/kde4/systemsettings.desktop does not exist.
所以我尝试了
~$ sudo apt-get -f dist-upgrade
[sudo] password for ...:
E: Could not get lock /var/lib/dpkg/lock - open (11: The resource is not available at the moment)
E: Locking of the administration folders (/var/lib/dpkg/) is not possible, is it used by a different process?
因此
~$ pgrep dpkg
14527
~$ sudo kill 14527
~$ sudo apt-get -f dist-upgrade
现在它起作用了。但是,尝试打开系统设置时,仍然出现相同的错误!
我现在重启了系统。我起床后看到登录屏幕,但当我输入密码后,系统运行了一段时间,然后又回到了登录屏幕。我进入恢复模式,运行了 dpkg 修复包菜单两次,直到没有安装或卸载任何包。但是,我仍然无法通过登录屏幕。
我应该怎么办?