Cuda cross compilation installation

I have already setup cuda on my arm device ( Tegra K1 ). I am trying to install cuda cross compile on my host machine running ubuntu 14.04. I have added the foreign architecture and downloaded .deb file as well. Now when I try to install cross compile i get following message

ubuntu@ubuntu:/usr$ sudo apt-get install cuda-cross-armhf-6-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-cross-armhf-6-5 : Depends: cuda-toolkit-6-5 (= 6.5-19) but it is not going to be installed
Depends: g+±arm-linux-gnueabihf but it is not installable
E: Unable to correct problems, you have held broken packages.
ubuntu@ubuntu:/usr$ sudo apt-get install cuda-toolkit-6-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-6-5 : Depends: cuda-core-6-5 (= 6.5-19) but it is not going to be installed
Depends: cuda-command-line-tools-6-5 (= 6.5-19) but it is not going to be installed
Depends: cuda-samples-6-5 (= 6.5-19) but it is not going to be installed
Depends: cuda-documentation-6-5 (= 6.5-19) but it is not going to be installed
Depends: cuda-visual-tools-6-5 (= 6.5-19) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I am new to both ubuntu and cuda. Please guide me with the installation.

26 views and no reply… :( … someone might have faced similar problem before…

Maybe try in the “Embedded Systems” sub-forum next door, that is where the Tegra crowd seems to be hanging out.

Just succeeded at this (after failing a few times, including hitting this issue).

BEFORE you run the .deb file make sure to remove the existing installation of cuda 6.5.
To check for existing installation:
$ dpkg -l | grep cud
To remove the installation
$ sudo apt-get --purge remove cuda-*
$ sudo apt-get autoremove
Then follow the installation instructions.
$ sudo dpkg -i ~/Downloads/cuda-repo-ubuntu1404_7.5-18_amd64.deb
$ sudo apt-get update
$ sudo apt-get install cuda
This will complain about unmet dependencies. You can resolve those with:
$ sudo apt-get -f install