当我通过 Unity 安装 Gnome 时,登录时我无法选择返回到标准 Unity 桌面。每次我尝试简单的
sudo apt-get install ubuntu-desktop
我得到错误
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-desktop : Depends: ubuntu-session but it is not going to be installed
Depends: unity-control-center but it is not going to be installed
Depends: unity-settings-daemon but it is not going to be installed
Recommends: xul-ext-webaccounts but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我已经尝试了一切,但 Unity 拒绝重新安装,我不想完全重新安装 Ubuntu。我使用 Ubuntu 14.04。请帮忙!!!
看起来出了点问题,现在包依赖关系被破坏了。完成我如何解决未满足的依赖项
中 的步骤 以使事情恢复正常。
基本上就是这样
确保保留这些命令的输出。如果在那之后它仍然坏了,它将提供有关正在发生的事情的有价值的信息。
我解决了这个问题,禁用所有 gnome3-staging 存储库(在软件中心)并重新安装所有包依赖项。
在尝试安装每个依赖项(及其子依赖项)后
apt-get install
,它向我展示了一些库的一些更新版本。为了解决这个问题,我删除并安装了这些较新版本中的每一个。