未满足的依赖!在新安装的ubuntu 14.04上安装Cuda 6.5时

未满足的依赖!在新安装的ubuntu 14.04上安装Cuda 6.5时,ubuntu,cuda,Ubuntu,Cuda,我按照教程安装Cuda 6.5,当我尝试获得安装Cuda时,出现以下错误: 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

我按照教程安装Cuda 6.5,当我尝试获得安装Cuda时,出现以下错误:

    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.
我已经从谷歌那里得到了一些解决方案,但没有一个解决了我的问题。 作为新系统,唯一安装的软件是chrome浏览器


解决方法是删除所有libcheese*软件包,然后在安装完Cuda后重新安装ubuntu桌面。我不确定这是否是一个好的解决方案,但我成功安装了Cuda,到目前为止没有发现任何问题。

使用Synaptic软件包管理器。我认为找到依赖关系会更好


在尝试安装之前,请确保更新您的安装。确保没有包冲突,因为这会产生问题。如果您发现任何冲突,请卸载软件包并重试。

我在Ubuntu 14.04上遇到了与CUDA 7.0基本相同的问题。只需将apt get声称具有未满足的依赖项的软件包添加到
apt get install cuda
中,对我来说很有效:

sudo apt-get install cuda libcheese-gtk23 libcheese7 libclutter-1.0-0 libclutter-gtk-1.0-0 libcogl15

尝试卸载其中一个未满足的依赖项。然后这些依赖项将自动安装。错误传递!!试着这样做:

sudo apt-get --purge remove libcheese-gtk23

这对我有用

这可能会在askubuntuThis获得更多的关注,这应该得到更高的评价。Synaptic很好地完成了安装过程,但似乎没有在/usr/local/cuda中安装示例或任何东西。这管用!这一点,再加上几次apt-get-update,对我很有效。(CUDA 7.5,Ubuntu 14.04)