安装 Cinnamon 时出现未满足的依赖关系错误

安装 Cinnamon 时出现未满足的依赖关系错误

我添加了 Cinnamon 所需的 PPA。现在当我运行 时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: libcogl5 (>= 1.7.4) but it is not going to be installed
            Depends: libmuffin0 (>= 1.0.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

有什么建议么?

答案1

对我来说,这些命令可以很好地修复错误:

sudo rm /etc/apt/sources.list.d/gnome3-team-gnome3-oneiric.list* merlwiz79-cinnamon-ppa-oneiric.list* ricotz-testing-oneiric.list*
sudo apt-get update
sudo apt-get purge gnome-desktop3-data
sudo apt-get install cinnamon

答案2

你有没有尝试过apt-get install -f

相关内容