My workstation has two GPUs (Quadro K5200 and Quadro K2200) with the latest NVIDIA Driver installed (Version: 352.41). After downloaded the file cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb
from CUDA 7.5 Downloads, I try to install it, but it turns out the result as below:
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.
I have tried the solution:
sudo apt-get remove nvidia-cuda-*
# remove old nvidia-cuda packages-
Install unmet dependencies:
root@P700-Bruce:/home/bruce/Downloads# apt-get install cuda-7-5 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-7-5 : Depends: cuda-toolkit-7-5 (= 7.5-18) but it is not going to be installed Depends: cuda-runtime-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. root@P700-Bruce:/home/bruce/Downloads# apt-get install cuda-toolkit-7-5 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-toolkit-7-5 : Depends: cuda-core-7-5 (= 7.5-18) but it is not going to be installed Depends: cuda-command-line-tools-7-5 (= 7.5-18) but it is not going to be installed Depends: cuda-samples-7-5 (= 7.5-18) but it is not going to be installed Depends: cuda-documentation-7-5 (= 7.5-18) but it is not going to be installed Depends: cuda-visual-tools-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.
-
Install and use aptitude
My Ubuntu14.04 OS is just installed and have made the software updates and installed the latest Nvidia driver.
Can you give some help? Thanks in advance!
Best Answer
The installation of CUDA is little a bit tricky. I've followed the following steps and it works for me. You can refer to this link also.
Confirmation of the environment:
lspci | grep -i nvidia
(Confirm that the information of NVIDIA's board is displayed)uname -m
(make sure that it is a x86_64)gcc --version
(make sure it is installed)Installation of CUDA –
Download
cuda_7.5.18_linux.run
file from https://developer.nvidia.com/cuda-downloadsRun the following commands:
Reboot computer
At login screen, press Ctrl+Alt+F1and login to your user.
Go to the directory where you have the CUDA driver, and run
During installation:
Check if
/dev/nvidia*
files exist. If they don't, do the followingSet Environment path variables
Verify the driver version
Check CUDA driver version
Switch the lightdm back on again
Ctrl+Alt+F7 and login to the system through GUI
Create CUDA Samples, Go to
NVIDIA_CUDA-7.5_Samples
folder through terminal, then run following command:Both tests should ultimately output a 'PASS' in terminal
Reboot the system