do-release-upgrade
我今天通过在终端中使用以下命令升级了我的 Ubuntu GNOME 13.10 安装。
当我回来时,它在一个 tty 上(至少我认为它是一个 tty)!然后,由于我无法使用 alt+ 返回桌面,F7我重新启动了。GNOME-shell 出现了,但无法移动鼠标!我回到 alt+f2并运行:sudo apt-get update
和sudo apt-get dist-upgrade
。它下载了一堆东西并再次手动安装了 GNOME-shell。
现在我的安装工作正常,除了我没有 GNOME 控制面板,尝试安装它时显示了以下内容:
~$ sudo apt-get install gnome-control-center
[sudo] password for :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gnome-control-center : Depends: gnome-control-center-data (< 1:3.7) but 1:3.10.1-0ubuntu1~saucy3 is to be installed
Recommends: gnome-control-center-shared-data but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
laptop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
blt guile-1.8 guile-1.8-libs libamd2.2.0 libaqhbci20 libavfilter2 libboost-iostreams1.53.0 libboost-serialization1.53.0 libfftw3-3 libllvm3.3:i386 libmjpegutils-2.0-0 libmng1 libmpeg2encpp-2.0-0 libmplex2-2.0-0 libtcl8.5 libtk8.5 libumfpack5.4.0 libwebp4 libx264-123 mono-gmcs python-central python-support slib tcl8.5 tk8.5
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
我该怎么做才能修复这个问题?我还担心我的系统可能不稳定。
我可以do-release-upgrade
再次运行吗?当我尝试时,它显然说我已更新。
我可以通过异质?(我的安装是完全加密的(LUKS/LVM),请记住,有一个错误/行为不支持通过异质加密时)
我真的不想重新安装,我有一个备份重复,但重新安装我的应用程序并设置系统内容对我来说很烦人,而且非常耗时。
答案1
在 14.04 中,gnome-control-center 已被 unity-control-center 取代。在终端中输入 unity-control-center 以查看是否已安装。
我刚刚运行了安装在标准 (Unity) Ubuntu 中的 gnome-shell,在升级 13.10 -> 14.04 后,gnome-shell 3.10 中的设置图标仍在启动旧的 gnome-control-center 二进制文件。我在 /usr/bin 中找到它,将其重命名为 *.bak 并创建符号链接 gnome-control-center -> unity-control-center。
效果很好。现在,gnome-shell 3.10 中的设置图标会启动 unity-control-centre。尽管名称如此,但 unity-control center 并非 Unity 独有的,它只是 gnome-control-center 在 14.04 中的称呼。