我的工作站有两个GPU(象限K5200和象限K2200),安装了最新的NVIDIA驱动程序(版本: 352.41)。在从cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb下载了CUDA 7.5下载文件之后,我尝试安装它,但是结果如下:
root@P700-Bruce:/home/bruce/Downloads# sudo apt-get install cuda
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:
cuda : Depends: cuda-7-5 (= 7.5-18) 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.我已经尝试过这样的解决方案:
sudo apt-get remove nvidia-cuda-* #删除旧的nvidia软件包我的Ubuntu14.04操作系统刚刚安装,并进行了软件更新,并安装了最新的Nvidia驱动程序。
你能帮忙吗?提前感谢!
发布于 2015-09-10 01:50:20
我今天重新启动了Ubuntu,发现还有另一个未满足的依赖项--类似于libcog15 : Depends: mesa-driver... (我不记得完整的包名),所以我使用apt-get install来安装“台面驱动程序”。之后,成功安装了CUDA 7.5。
请注意,我的内核版本是3.19.0-28-泛型,gcc版本是Ubuntu4.8.4-2 ubuntu1~14.04,这在CUDA 7.5正式文件中找不到。我会检查它是否真的有效。
发布于 2015-09-21 19:19:10
有两种方法可以安装适合CUDA的驱动程序--驱动程序(用于Optimus和其他内置图形-混合主板上的芯片组)--这里描述的第一种方法最简单,第二种描述更麻烦,但也很有效:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-355 nvidia-prime
sudo reboot方法B的描述在这里,但已经比较老了(由用户dschinn1001解释)--这个方法B更卑微,可能是危险的,但并不有害。:
如何在Ubuntu13.04中安装驱动程序GT 520和Cuda 5.0?
Nvidia下载Linux的beta驱动程序包在这里:
http://www.nvidia.de/object/cuda_1_1_beta.html
方法A更简单,但不清楚它是如何与xscreensaver和方法B交互的,但是最近也更新了驱动程序包,而且在完成方法B之后,安装xscreensaver条件时,它应该能更好地工作。(我在13.10测试了方法B,这是非常好的工作,即使使用xscreensaver。我认为这个线程的其余部分取决于硬件。)
此外,对于带有擎天柱图形芯片的大黄蜂,这些大黄蜂的调整也是必要的:
发布于 2015-09-09 23:37:53
听起来像lp bug 1428972。
用户芬尼坦西在评论#10中添加了一个解决方案:
sudo apt-get install libglew-dev libcheese7 libcheese-gtk23 libclutter-gst-2.0-0 libcogl15 libclutter-gtk-1.0-0 libclutter-1.0-0
https://askubuntu.com/questions/672047
复制相似问题