无法重新安装 unity-desktop。目前有 GNOME

无法重新安装 unity-desktop。目前有 GNOME

我正在尝试安装 ubuntu-desktop 但是它显示以下错误:

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.

我尝试了很多方法但都无法摆脱它。

我已经尝试过sudo dpkg-reconfigure -a,还有uninstall gnome-shell。但是后来我无法登录。请帮帮我。我无法摆脱 GNOME。每当我按下 ctrl 按钮时,许多应用程序都会崩溃。无法更改背景。

答案1

你可以重置 unity

$ unity-reset
$ setsid unity


如果上述方法不起作用,
请尝试:
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity

相关内容