首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >试图安装Gnome-Shell

试图安装Gnome-Shell
EN

Ask Ubuntu用户
提问于 2018-07-05 13:34:38
回答 1查看 690关注 0票数 0

我遵循这个关于如何安装gnome的教程,但是在运行命令之后

代码语言:javascript
复制
sudo apt install ubuntu-gnome-desktop

我收到以下消息

代码语言:javascript
复制
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.
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2018-07-05 14:52:59

在安装时尝试使用-f选项来修复损坏的包或依赖项:

代码语言:javascript
复制
apt -f install ubuntu-gnome-desktop

您可以尝试为当前发行版搜索gnome的正确包:

代码语言:javascript
复制
apt-cache search gnome-desktop
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1052408

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档