无法安装libglew-dev,因为libcheese和libclutter没有所需的版本


15

尝试安装时收到以下错误消息libglew-dev

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:
 libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (>= 0.91.8) but it is not going to be installed
                   Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
 libcheese7 : Depends: libclutter-gst-2.0-0 (>= 0.10.0) but it is not going to be installed
              Depends: gstreamer1.0-clutter but it is not going to be installed
 libclutter-1.0-0 : Depends: libcogl-pango15 (>= 1.15.8) but it is not going to be installed
                    Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

但是,所有这些软件包显然都已安装。

我在这篇文章中尝试了所有可能的解决方案,但没有任何运气。我尚未添加任何PPA。ubuntu的版本是14.04.2。

我看过类似的文章,并尝试了以下方法:

跑步

dpkg --get-selections | grep hold

什么都不打印。

sudo apt-get -oDebug::pkgProblemResolver=true install -f

没让我感兴趣 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


1
libcheese在尝试安装时,我遇到了与软件包类似的问题libqtwetkit-dev。我解决了使用aptitude(安装后,运行类似apt-get,但aptitude会给你的方案来解决这个问题。
雷尔Gugelmin库尼亚

Answers:


15

我尝试安装libglew-dev,但遇到了同样的问题。我必须包括以下软件包才能安装它

sudo apt-get install  libglew-dev libcheese7 libcheese-gtk23 libclutter-gst-2.0-0 libcogl15 libclutter-gtk-1.0-0 libclutter-1.0-0  xserver-xorg-input-all

然后它将包括所有必需的软件包。


在干净的14.04.2 VM上进行了测试,您的解决方案可以完美运行。+1
Sylvain Pineau'3

“但是所有这些软件包显然已经安装。” 你在做什么不同?
Braiam

2
关于lp的错误报告:#1428972
Sylvain Pineau

1
我试过了,但是重新启动触摸板后停止了工作。
systemovich 2015年

3

我在尝试安装qtcreator的Ubuntu 14.04.2中遇到了相同的问题。此外,尝试安装Qt4 / 5开发包(例如qt4-default和qt5-default)可能会将整个X.org降级到原始的可信任版本,而不是lts-utopic。

这种依赖性混乱以某种方式连接到新的Mesa软件包,并且可以通过手动安装lts-utopic版本来解决。我安装了以下软件包:

sudo apt-get install xserver-xorg-dev-lts-utopic mesa-common-dev-lts-utopic libgles2-mesa-dev-lts-utopic libgles1-mesa-dev-lts-utopic libgl1-mesa-dev-lts-utopic libegl1-mesa-dev-lts-utopic


0

您可以使用Synaptic来安装libglew-dev软件包。在这里您还可以看到所有依赖项,并标记需要安装的依赖项,然后单击“应用”按钮将安装您需要的软件包。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.