我正在尝试安装gnome-shell
但它显示一个错误:
$ sudo apt-get install gnome-shell
...
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-settings-daemon (>= 3.4.0) but it is not going to be installed
Recommends: gnome-control-center but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt-get update && sudo apt-get upgrade
sudo apt-get -f install
sudo apt-get install gnome-shell
来自评论:
$ sudo apt-get install -f gnome-shell gnome-control-center gnome-settings-daemon
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gnome-settings-daemon : Depends: gnome-settings-daemon-schemas (= 3.12.2-0ubuntu1~trusty3) but 3.8.6.1-0ubuntu11.2 is to be installed
E: Unable to correct problems, you have held broken packages.
答案1
答案2
打开终端并运行
sudo apt-get install gnome-shell gnome-control-center gnome-settings-daemon