I tried installing Cuda 10.1 according to the instructions on the site. After that, I made a simple C program to test out nvcc
, and it said I didn't have some nvidia-cuda
package installed.
I installed it with apt-get
, and the download completed with one error, that nvidia-cuda-dev
couldn't be installed.
Now I can't open nvidia-settings
, because nvidia-cuda-dev
has an unmet dependency, and I can't remove all nvidia pakcages with apt purge
, because nvidia-cuda-dev
has an unmet dependency.
Not sure what to do next, I'll be here a while.
P.S : I've also tried using
sudo apt --fix-broken install
but it says nvidia-cuda-dev
is going to be installed, but then says :
dpkg: error processing archive /var/cache/apt/archives/nvidia-cuda-dev_9.1.85-3ubuntu1_amd64.deb (--unpack): trying to overwrite '/usr/include/cublas.h' which is also in package libcublas-dev 10.2.1.243-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing: /var/cache/apt/archives/nvidia-cuda-dev_9.1.85-3ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)