我正在关注这个教程关于如何安装 gnome,但在我运行命令后
sudo apt install ubuntu-gnome-desktop
我收到以下消息
Reading package lists... Done
Building dependency tree
Reading state information... Done
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-gnome-desktop : Depends: xorg but it is not going to be installed
Recommends: gnome-photos but it is not going to be installed
Recommends: libreoffice-style-tango but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
答案1
尝试-f
在安装时选择修复损坏的软件包或依赖项:
apt -f install ubuntu-gnome-desktop
您可以尝试搜索适合您当前发行版的正确的 gnome 包:
apt-cache search gnome-desktop