I was working with CUDA5.5, however I wanted to install CUDA6.5 using the main repository given by nvidia.
sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb
sudo apt-get update
But when I try to install cuda I get the following error.
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-6-5 (= 6.5-14) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I would appreciate any help.
Best Answer
From the terminal run:
Some actions must be taken after installing the CUDA Toolkit and Driver before they can be completely used. Perform the post-installation actions.
Reference: NVIDIA CUDA Getting Started Guide for Linux v6.5