Hi,
I am running Ubuntu version 18.04 and have a RTX 2070, and I get an error message after I installed CUDA toolkit version 10.1 that:
cuda-libraries-dev-10-1: Depends: libcublas-dev (>= 10.1.0.105) but it is not installed
cuda-samples-10-1: Depends: libcublas-dev (>= 10.1.0.105) but it is not installed
cuda-visual-tools-10-1: Depends: libcublas-dev (>= 10.1.0.105) but it is not installed
This error pops up for example when an trying to perform the Software Updater in Ubuntu.
After some investigation I found out that the system thought that I was running on version 418, which I have not installed. I tried to run the "
nvidia-smi
" command in terminal, but it failed.
I was trying to reinstall the drivers (version 410) but it recommended me that I should update the drivers (version 418). I noticed that I could install the new driver version 418.39, which I did, then the “nvidia-smi” worked and returned all correct information.
Fri Mar 1 17:32:42 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.43 Driver Version: 418.43 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce RTX 2070 On | 00000000:05:00.0 On | N/A |
| 0% 32C P8 20W / 185W | 528MiB / 7944MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
I still get the error message, and i have tried running the command "
sudo apt --fix-broken install
", but this one gives back:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libcublas-dev
The following NEW packages will be installed:
libcublas-dev
0 upgraded, 1 newly installed, 0 to remove and 133 not upgraded.
77 not fully installed or removed.
Need to get 0 B/39,9 MB of archives.
After this operation, 115 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 265190 files and directories currently installed.)
Preparing to unpack .../libcublas-dev_10.1.0.105-1_amd64.deb ...
Unpacking libcublas-dev (10.1.0.105-1) ...
dpkg: error processing archive /var/cache/apt/archives/libcublas-dev_10.1.0.105-1_amd64.deb (--unpack):
trying to overwrite '/usr/include/cublas_v2.h', which is also in package nvidia-cuda-dev 9.1.85-3ubuntu1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libcublas-dev_10.1.0.105-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thank for any help!