Nvidia-cuda-dev install dependency issues (fresh install ubuntu server 20.04/cuda10.2)

running a this ‘brick wall’ of a problem for a few hours, hoping the forum can help with a few issues I’m experiencing during config/dev-tool installation in ubuntu server v20.04.

  • initial driver installed from Nvidia: broken/failed
    $ sudo apt purge nvidia*
    $sudo apt-get purge nvidia*
    $sudo apt-get autoremove
    $sudo apt-get autoclean
    $sudo rm -rf /usr/local/cuda*

#installed from ppa
$ sudo apt-add-repository ppa:graphics-drivers/ppa

  • Cuda 10.2 installed via $sudo apt install nvidia-utils-440 # version 440.82+really.440.64-0ubuntu6
    $nvidia-smi: registers all cards on the node:
    ±----------------------------------------------------------------------------+
    | NVIDIA-SMI 440.64 Driver Version: 440.64 CUDA Version: 10.2 |
    |-------------------------------±---------------------±---------------------+
    | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
    | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
    |===============================+======================+======================|
    | 0 Tesla K40m Off | 00000000:02:00.0 Off | 0 |
    | N/A 25C P8 20W / 235W | 0MiB / 11441MiB | 0% Default |
    ±------------------------------±---------------------±---------------------+
    | 1 Tesla K40m Off | 00000000:03:00.0 Off | 0 |
    | N/A 29C P8 20W / 235W | 0MiB / 11441MiB | 0% Default |
    ±------------------------------±---------------------±---------------------+
    | 2 Tesla K40m Off | 00000000:85:00.0 Off | 0 |
    | N/A 25C P8 19W / 235W | 0MiB / 11441MiB | 0% Default |
    ±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
±----------------------------------------------------------------------------+

*$sudo apt install -y nvidia-cuda-dev nvidia-cuda-doc:
The following packages have unmet dependencies:
nvidia-cuda-dev : Depends: libcublas10 (= 10.1.243-3) but 10.2.0.168-1 is to be installed
Recommends: libnvcuvid1 but it is not installable
E: Unable to correct problems, you have held broken packages.
*brick wall || send help!

1 Like