我正在尝试使用命令行在我的 Ubuntu 14.04LTS 上安装 gnome 桌面环境:
$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."
我该如何解决?
答案1
您可以尝试这种安装方法,可能不会遇到任何问题:
sudo 添加 apt 存储库 ppa:gnome3-team/gnome3-staging
sudo 添加 apt 存储库 ppa:gnome3-team/gnome3
sudo apt-get 更新
sudo apt-get dist-upgrade
要安装所有 GNOME 3 应用程序:
sudo apt-get install 字典极性 gnome-clocks gnome-weather gnome-maps gnome-music gnome-photos gnome-documents gnome-contacts epiphany-browser gnome-sushi gnome-boxes gnome-shell-extensions gnome-tweak-tool
将这些命令逐一复制粘贴到终端中。
笔记:“这里的软件包被认为不适合一般使用,它们有已知的错误和/或退化,有时是严重的。大多数情况下应该运行顺利,但当你遇到问题时,请准备好使用 ppa-purge”