![无法在 12.10 中安装 Gnome](https://linux22.com/image/826568/%E6%97%A0%E6%B3%95%E5%9C%A8%2012.10%20%E4%B8%AD%E5%AE%89%E8%A3%85%20Gnome.png)
当我尝试安装 gnome DE 时,遇到了依赖性问题。
命令 apt-get install ubuntu-gnome-desktop ubuntu-gnome-default-settings
给出错误信息-
~$ sudo apt-get install ubuntu-gnome-desktop ubuntu-gnome-default-settings
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:
ubuntu-gnome-desktop : Depends: gnome-shell but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我该怎么办?
编辑
$ sudo apt-get install gnome-shell
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-shell : Depends: gnome-shell-common (= 3.6.1-0ubuntu1) but 3.7.1+git20121024.a4e29e12-0ubuntu1~12.10~ricotz0 is to be installed
E: Unable to correct problems, you have held broken packages.
答案1
唯一的依赖问题是 gnome-shell,它是 gnome3 的主要界面。只需安装 gnome-shell。