在使用sudo apt-get install cinnamon安装肉桂时,我得到以下错误:
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.我什么都试过了:
但我仍然无法安装它。请帮帮忙。
发布于 2013-04-21 07:18:40
通过在终端中添加肉桂所需的存储库(本例中为此类型),
sudo add-apt-repository ppa:merlwiz79/cinnamon-ppa然后,如果您使用'sudo apt -f install (程序名)‘来获取缺少的包,则应该进行修复。这应该是可行的,但要知道添加ppa的使用上面的命令。当然,将存储库替换为您想要的存储库。
发布于 2017-01-02 20:02:17
通常,如果依赖项在发行版的存储库上可用,则可以这样做
sudo apt-get -f install
这将尝试安装这些依赖项,但是如果所需的包在存储库这是你的案子中不可用,那么您必须手动下载并安装每个依赖项,首先是没有未满足的依赖项的包。软件包可以从launchpad.net、packages.ubuntu.com等下载。
这帖子可能会帮助您理解如何解决依赖关系。
我可以提供更具体的答案,如果您提供您的发行版名称和版本。
https://askubuntu.com/questions/283785
复制相似问题