apt-get 无法安装'libgl1-mesa-dev-lts-vivid'依赖项



我正试图用apt-get在ubuntu 14.04 lts上安装"libgl1 mesa dev-lts-vigive",但我收到了以下错误消息:

$ sudo apt-get install libgl1-mesa-dev-lts-vivid 
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:
libgl1-mesa-dev-lts-vivid : Depends: mesa-common-dev-lts-vivid (=10.5.9-2ubuntu1~trusty2) but it is not going to be installed
                             Depends: libgl1-mesa-glx-lts-vivid (= 10.5.9-2ubuntu1~trusty2) but it is not going to be installed
unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
                        Depends: libcheese7 (>= 3.0.1) but it is not going to be installed 
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

我试着单独安装每个列出的包,apt-get只抱怨mesa common devlts生动。当我尝试手动安装时,我会得到:

$ sudo apt-get install mesa-common-dev-lts-vivid
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.

我已经运行了apt-get更新和升级。我正在运行一个几乎是新安装的ubuntu 14.04 LTS,只安装了一些nvidia图形驱动程序和另一个图形程序。我还在所有涉及的包上运行了apt-show版本:

gstreamer1.0-clutter:amd64/trusty 2.0.8-1build1 uptodate
libcheese-gtk23:amd64/trusty 3.10.2-0ubuntu2 uptodate
libcheese7:amd64/trusty 3.10.2-0ubuntu2 uptodate
libclutter-gst-2.0-0:amd64/trusty 2.0.8-1build1 uptodate
libclutter-gtk-1.0-0:amd64/trusty-updates 1.4.4-3ubuntu2.2 uptodate
libcogl-pango15:amd64/trusty 1.16.2-1 uptodate
libcogl15:amd64/trusty 1.16.2-1 uptodate
libgl1-mesa-dev-lts-vivid not installed
libgl1-mesa-glx-lts-vivid:amd64/trusty-updates 10.5.9-2ubuntu1~trusty2 uptodate
mesa-common-dev-lts-vivid not installed
unity-control-center:amd64/trusty-updates 14.04.3+14.04.20140922-0ubuntu1.1 uptodate

它们似乎都是安装的有效版本

检查依赖软件包的版本是否与您安装的版本匹配。

所以现在已经修复了。我用apt-get卸载了所有东西——清除-删除,然后重新安装了一些有天赋的东西。关于如何处理依赖关系,我不得不尝试几种能力选择,但最终有一种成功了。

相关内容

  • 没有找到相关文章