我删除了我的 GUI,现在无法安装另一个

我删除了我的 GUI,现在无法安装另一个

很简单,我之前使用 KDE(我一生中最糟糕的选择),然后决定删除它。然后我就这么做了,现在我无法安装另一个。我使用的是 ubuntu 16.04

我正在尝试重新安装 Unity,但是当我尝试时:

sudo apt-get --reinstall ubuntu-desktop

我得到以下信息:

Some packages could not be installed. This may mean that you have requested and impossible situations 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 be helpful: 

The following packages have unmet dependencies: ubuntu-desktop :

Depends: checkbox-gui but it is not going to be installed 

Recommends: python3-aptdaemon.pktcompat but it is not going to be installed 

Recommends: unity-webapps-common but it is not going to be installed 

E: Unable to correct problems, you have held broken packages

答案1

您不能“重新安装”尚未安装的软件包。

sudo apt-get install ubuntu-desktop

或者你可以

sudo tasksel

选择要安装的桌面环境。

相关内容