首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装肉桂时出现依赖错误

安装肉桂时出现依赖错误
EN

Ask Ubuntu用户
提问于 2013-04-21 06:53:39
回答 2查看 2.2K关注 0票数 1

在使用sudo apt-get install cinnamon安装肉桂时,我得到以下错误:

代码语言: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:

 cinnamon : Depends: gir1.2-muffin-3.0 but it is not going to be installed

            Depends: libgjs0-libmozjs185-1.0 but it is not installable

            Depends: libgjs0c (>= 1.34.0) but 1.32.0-1ubuntu1 is to be installed

            Depends: libgnome-desktop-3-4 (>= 3.2.0) but it is not installable

            Depends: libmuffin0 (>= 1.1.1) but it is not going to be installed

            Recommends: gnome-themes-standard but it is not going to be installed

            Recommends: gnome-session-fallback but it is not going to be installed

            Recommends: nemo but it is not going to be installed

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

我什么都试过了:

如何在添加PPA之后解决未满足的依赖关系?

但我仍然无法安装它。请帮帮忙。

EN

回答 2

Ask Ubuntu用户

发布于 2013-04-21 07:18:40

通过在终端中添加肉桂所需的存储库(本例中为此类型),

代码语言:javascript
复制
sudo add-apt-repository ppa:merlwiz79/cinnamon-ppa

然后,如果您使用'sudo apt -f install (程序名)‘来获取缺少的包,则应该进行修复。这应该是可行的,但要知道添加ppa的使用上面的命令。当然,将存储库替换为您想要的存储库。

票数 0
EN

Ask Ubuntu用户

发布于 2017-01-02 20:02:17

通常,如果依赖项在发行版的存储库上可用,则可以这样做

sudo apt-get -f install

这将尝试安装这些依赖项,但是如果所需的包在存储库这是你的案子中不可用,那么您必须手动下载并安装每个依赖项,首先是没有未满足的依赖项的包。软件包可以从launchpad.net、packages.ubuntu.com等下载。

帖子可能会帮助您理解如何解决依赖关系。

我可以提供更具体的答案,如果您提供您的发行版名称和版本。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/283785

复制
相关文章

相似问题

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