帮酷LOGO
0 0 评论
  • 显示原文与译文双语对照的内容
文章标签:英伟达  CUDA  PAC  Ubuntu  DEP  installing  PACK  dependency  

问题:

在 Ubuntu 14.04上安装CUDA时,我试图按照这个链接,但是在这个步骤中我得到了软件包依赖问题:


~/Downloads$ sudo apt-get install cudaReading 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-0 (= 7.0-28) but it is not going to be installed


E: Unable to correct problems, you have held broken packages.



有人知道什么是问题?


回答 1:

选项 1: apt得到

  • 安装未满足的依赖项

    
    sudo apt-get install cuda-runtime-7-0
    
    
    ...
    
    
    <more unmet dependencies>
    
    
    ....
    
    
    sudo apt-get install cuda-7-0
    
    
    
    
  • 安装主软件包

    
    sudo apt-get install cuda
    
    
    
    
  • 选项 2: aptitude

  • 安装 aptitude

    
    sudo apt-get install aptitude
    
    
    
    
  • 安装主软件包

    
    sudo aptitude install cuda
    
    
    
    

回答 2:

似乎你已经安装了某些nvidia驱动程序或者,比如来自ubuntu存储库的一些版本。


sudo apt-get purge nvidia-*


sudo apt-get autoremove



然后安装 cuda。


sudo apt-get install cuda




回答 3:

当前与CUDA驱动程序的GNOME集成似乎有问题。 登录会话初始化遇到问题,但通过安装LXDE并删除gnome和ubuntu桌面来解决这里问题,如下所述: caffe安装问题




文章标签:PAC  PACK  DEP  Ubuntu  dependency  installing  英伟达  CUDA  

Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备05059198号-3  |  如果智培  |  酷兔英语