Não é possível instalar o Cuda no Ubuntu 14.04 devido a conflitos de pacotes

1

Eu acredito que tenho o mesmo problema que , mas tentei as etapas listadas, e não consigo resolver o problema.

Estou executando o Ubuntu 14.04 64bit em um desktop personalizado com ram de 4GB DDR3, processador Intel i3 de 3,3 GHz e uma GeForce GTX 950 usando o driver nvidia 352.63 na guia drivers adicionais em Software & amp; Atualizações. Estou tentando instalar o cuda usando este método .

Esta é a saída do terminal ao tentar instalar o cuda via apt:

$ 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  
E: Unable to correct problems, you have held broken packages.

Isso é o que eu uso com o Aptitude:

$ sudo aptitude install cuda  
The following NEW packages will be installed:  
  cuda cuda-7-5{a} cuda-command-line-tools-7-5{a} cuda-core-7-5{a}   
  cuda-cublas-7-5{a} cuda-cublas-dev-7-5{a} cuda-cudart-7-5{a}   
  cuda-cudart-dev-7-5{a} cuda-cufft-7-5{a} cuda-cufft-dev-7-5{a}   
  cuda-curand-7-5{a} cuda-curand-dev-7-5{a} cuda-cusolver-7-5{a}   
  cuda-cusolver-dev-7-5{a} cuda-cusparse-7-5{a} cuda-cusparse-dev-7-5{a}   
  cuda-documentation-7-5{a} cuda-driver-dev-7-5{a} cuda-drivers{a}   
  cuda-license-7-5{a} cuda-misc-headers-7-5{a} cuda-npp-7-5{a}   
  cuda-npp-dev-7-5{a} cuda-nvrtc-7-5{a} cuda-nvrtc-dev-7-5{a} cuda-runtime-7-5{a}   
  cuda-samples-7-5{a} cuda-toolkit-7-5{a} cuda-visual-tools-7-5{a}   
  freeglut3-dev{a} libdrm-dev{ab} libgl1-mesa-dev{a}   
  libgl1-mesa-dri-lts-utopic{ab} libgl1-mesa-glx-lts-utopic{ab}   
  libglapi-mesa-lts-utopic{ab} libglu1-mesa-dev{a} libllvm3.5{a}   
  libx11-xcb-dev{a} libxcb-dri2-0-dev{a} libxcb-dri3-dev{a} libxcb-glx0-dev{a}   
  libxcb-present-dev{a} libxcb-randr0-dev{a} libxcb-shape0-dev{a}   
  libxcb-sync-dev{a} libxcb-xfixes0-dev{a} libxmu-dev{a} libxmu-headers{a}   
  libxshmfence-dev{a} libxt-dev{a} libxxf86vm-dev{a} mesa-common-dev{a}   
  nvidia-352-dev{a} nvidia-352-uvm{a} nvidia-modprobe{a} x11proto-dri2-dev{a}   
  x11proto-gl-dev{a} x11proto-xf86vidmode-dev{a}   
0 packages upgraded, 58 newly installed, 0 to remove and 29 not upgraded.  
Need to get 12.5 MB/1,049 MB of archives. After unpacking 1,735 MB will be used.  
The following packages have unmet dependencies:  
 libgl1-mesa-dri-lts-utopic : Conflicts: libgl1-mesa-dri but   11.0.4~git20151026+11.0.ec14e6f8-0ubuntu0ricotz~trusty is installed.  
 libdrm-dev : Depends: libdrm2 (= 2.4.64-1~ubuntu14.04.1) but 2.4.65+git20151026.c745e541-0ubuntu0ricotz~trusty is installed.  
              Depends: libdrm-intel1 (= 2.4.64-1~ubuntu14.04.1) but 2.4.65+git20151026.c745e541-0ubuntu0ricotz~trusty is installed.  
              Depends: libdrm-radeon1 (= 2.4.64-1~ubuntu14.04.1) but 2.4.65+git20151026.c745e541-0ubuntu0ricotz~trusty is installed.  
              Depends: libdrm-nouveau2 (= 2.4.64-1~ubuntu14.04.1) but 2.4.65+git20151026.c745e541-0ubuntu0ricotz~trusty is installed.  
              Depends: libdrm-amdgpu1 (= 2.4.64-1~ubuntu14.04.1) but 2.4.65+git20151026.c745e541-0ubuntu0ricotz~trusty is installed.  
 libgl1-mesa-glx-lts-utopic : Conflicts: libgl1 which is a virtual package.  
                              Conflicts: libgl1-mesa-glx but 11.0.4~git20151026+11.0.ec14e6f8-0ubuntu0ricotz~trusty is installed.  
 libgl1-mesa-glx : Conflicts: libgl1 which is a virtual package.  
 libglapi-mesa-lts-utopic : Conflicts: libglapi-mesa but 11.0.4~git20151026+11.0.ec14e6f8-0ubuntu0ricotz~trusty is installed.  
 xserver-xorg : Conflicts: xorg-renamed-package which is a virtual package.  
The following actions will resolve these dependencies:  

Keep the following packages at their current version:  
1)      cuda [Not Installed]                                 
2)      cuda-7-5 [Not Installed]                             
3)      cuda-documentation-7-5 [Not Installed]               
4)      cuda-samples-7-5 [Not Installed]                     
5)      cuda-toolkit-7-5 [Not Installed]                     
6)      freeglut3-dev [Not Installed]                        
7)      libdrm-dev [Not Installed]                           
8)      libgl1-mesa-dev [Not Installed]                      
9)      libgl1-mesa-dri-lts-utopic [Not Installed]           
10)     libgl1-mesa-glx-lts-utopic [Not Installed]           
11)     libglapi-mesa-lts-utopic [Not Installed]             
12)     libglu1-mesa-dev [Not Installed]                     
13)     mesa-common-dev [Not Installed]                      



Accept this solution? [Y/n/q/?] y    
No packages will be installed, upgraded, or removed.    
0 packages upgraded, 0 newly installed, 0 to remove and 29 not upgraded.    
Need to get 0 B of archives. After unpacking 0 B will be used.  

Eu não sou um nerd completo do Linux, mas estou bastante confortável no terminal e estou disposto a aprender. Este não é um problema muito urgente, mas qualquer ajuda será apreciada.

    
por Dinklesnorf 20.04.2016 / 19:40

0 respostas