Unable to run on Ubuntu 18.04/Nvidia-440
#1
I'm running ubuntu 18.04, nvidia-driver-440. I followed this guide as well as the one for the .run file, to install cuda, and when I attempt to run hashcat, I am left with an error message. I can bypass this by using the --force argument but I would like to not have to do this.


This is my output:

Code:
th4ntis:~$ hashcat -b
hashcat (v5.1.0-1772-g3c1ddc81) starting in benchmark mode...

Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.

* Device #1: WARNING! Kernel exec timeout is not disabled.
            This may cause "CL_OUT_OF_RESOURCES" or related errors.
            To disable the timeout, see: https://hashcat.net/q/timeoutpatch
* Device #2: Outdated or broken NVIDIA driver '440.33.01' detected!

You are STRONGLY encouraged to use the officially supported NVIDIA driver.
See hashcat's homepage for officially supported NVIDIA drivers.
See also: https://hashcat.net/faq/wrongdriver
You can use --force to override this, but do not report related errors.

Started: Tue Apr  7 17:38:55 2020
Stopped: Tue Apr  7 17:38:55 2020


So I did some googling and found a couple thread saying to install "nvidia-cuda-toolkit", which I attempt to do, but then I am faced with this:


Code:
th4ntis:~$ sudo apt install -y nvidia-cuda-toolkit
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following additional packages will be installed:
  g++-6 libaccinj64-9.1 libcublas9.1 libcudart9.1 libcufft9.1 libcufftw9.1 libcuinj64-9.1 libcurand9.1 libcusolver9.1 libcusparse9.1 libnppc9.1 libnppial9.1 libnppicc9.1 libnppicom9.1 libnppidei9.1 libnppif9.1
  libnppig9.1 libnppim9.1 libnppist9.1 libnppisu9.1 libnppitc9.1 libnpps9.1 libnvblas9.1 libnvgraph9.1 libnvrtc9.1 libnvtoolsext1 libnvvm3 libstdc++-6-dev libthrust-dev libvdpau-dev nvidia-cuda-dev
  nvidia-cuda-doc nvidia-cuda-gdb nvidia-profiler nvidia-visual-profiler
Suggested packages:
  g++-6-multilib gcc-6-doc libstdc++6-6-dbg libstdc++-6-doc libvdpau-doc libcupti-dev nvidia-driver
Recommended packages:
  libnvcuvid1
The following NEW packages will be installed:
  g++-6 libaccinj64-9.1 libcublas9.1 libcudart9.1 libcufft9.1 libcufftw9.1 libcuinj64-9.1 libcurand9.1 libcusolver9.1 libcusparse9.1 libnppc9.1 libnppial9.1 libnppicc9.1 libnppicom9.1 libnppidei9.1 libnppif9.1
  libnppig9.1 libnppim9.1 libnppist9.1 libnppisu9.1 libnppitc9.1 libnpps9.1 libnvblas9.1 libnvgraph9.1 libnvrtc9.1 libnvtoolsext1 libnvvm3 libstdc++-6-dev libthrust-dev libvdpau-dev nvidia-cuda-dev
  nvidia-cuda-doc nvidia-cuda-gdb nvidia-cuda-toolkit nvidia-profiler nvidia-visual-profiler
0 upgraded, 36 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/781 MB of archives.
After this operation, 1,813 MB of additional disk space will be used.
Extracting templates from packages: 100%
Selecting previously unselected package libstdc++-6-dev:amd64.
(Reading database ... 335006 files and directories currently installed.)
Preparing to unpack .../00-libstdc++-6-dev_6.5.0-2ubuntu1~18.04_amd64.deb ...
Unpacking libstdc++-6-dev:amd64 (6.5.0-2ubuntu1~18.04) ...
Selecting previously unselected package g++-6.
Preparing to unpack .../01-g++-6_6.5.0-2ubuntu1~18.04_amd64.deb ...
Unpacking g++-6 (6.5.0-2ubuntu1~18.04) ...
Selecting previously unselected package libaccinj64-9.1:amd64.
Preparing to unpack .../02-libaccinj64-9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libaccinj64-9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcublas9.1:amd64.
Preparing to unpack .../03-libcublas9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcublas9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcudart9.1:amd64.
Preparing to unpack .../04-libcudart9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcudart9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcufft9.1:amd64.
Preparing to unpack .../05-libcufft9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcufft9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcufftw9.1:amd64.
Preparing to unpack .../06-libcufftw9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcufftw9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcuinj64-9.1:amd64.
Preparing to unpack .../07-libcuinj64-9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcuinj64-9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcurand9.1:amd64.
Preparing to unpack .../08-libcurand9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcurand9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcusolver9.1:amd64.
Preparing to unpack .../09-libcusolver9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcusolver9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcusparse9.1:amd64.
Preparing to unpack .../10-libcusparse9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcusparse9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppc9.1:amd64.
Preparing to unpack .../11-libnppc9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppc9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppial9.1:amd64.
Preparing to unpack .../12-libnppial9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppial9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppicc9.1:amd64.
Preparing to unpack .../13-libnppicc9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppicc9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppicom9.1:amd64.
Preparing to unpack .../14-libnppicom9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppicom9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppidei9.1:amd64.
Preparing to unpack .../15-libnppidei9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppidei9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppif9.1:amd64.
Preparing to unpack .../16-libnppif9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppif9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppig9.1:amd64.
Preparing to unpack .../17-libnppig9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppig9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppim9.1:amd64.
Preparing to unpack .../18-libnppim9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppim9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppist9.1:amd64.
Preparing to unpack .../19-libnppist9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppist9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppisu9.1:amd64.
Preparing to unpack .../20-libnppisu9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppisu9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppitc9.1:amd64.
Preparing to unpack .../21-libnppitc9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppitc9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnpps9.1:amd64.
Preparing to unpack .../22-libnpps9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnpps9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnvblas9.1:amd64.
Preparing to unpack .../23-libnvblas9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnvblas9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnvgraph9.1:amd64.
Preparing to unpack .../24-libnvgraph9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnvgraph9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnvrtc9.1:amd64.
Preparing to unpack .../25-libnvrtc9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnvrtc9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libvdpau-dev:amd64.
Preparing to unpack .../26-libvdpau-dev_1.3-0ubuntu0~gpu18.04.2_amd64.deb ...
Unpacking libvdpau-dev:amd64 (1.3-0ubuntu0~gpu18.04.2) ...
Selecting previously unselected package libnvtoolsext1:amd64.
Preparing to unpack .../27-libnvtoolsext1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnvtoolsext1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnvvm3:amd64.
Preparing to unpack .../28-libnvvm3_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnvvm3:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libthrust-dev.
Preparing to unpack .../29-libthrust-dev_1.9.1~9.1.85-3ubuntu1_all.deb ...
Unpacking libthrust-dev (1.9.1~9.1.85-3ubuntu1) ...
Preparing to unpack .../30-nvidia-cuda-dev_9.1.85-3ubuntu1_amd64.deb ...
Unpacking nvidia-cuda-dev (9.1.85-3ubuntu1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-zCwPgg/30-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.2.89-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package nvidia-cuda-doc.
Preparing to unpack .../31-nvidia-cuda-doc_9.1.85-3ubuntu1_all.deb ...
Unpacking nvidia-cuda-doc (9.1.85-3ubuntu1) ...
Selecting previously unselected package nvidia-cuda-gdb.
Preparing to unpack .../32-nvidia-cuda-gdb_9.1.85-3ubuntu1_amd64.deb ...
Unpacking nvidia-cuda-gdb (9.1.85-3ubuntu1) ...
Selecting previously unselected package nvidia-profiler.
Preparing to unpack .../33-nvidia-profiler_9.1.85-3ubuntu1_amd64.deb ...
Unpacking nvidia-profiler (9.1.85-3ubuntu1) ...
Selecting previously unselected package nvidia-cuda-toolkit.
Preparing to unpack .../34-nvidia-cuda-toolkit_9.1.85-3ubuntu1_amd64.deb ...
Unpacking nvidia-cuda-toolkit (9.1.85-3ubuntu1) ...
Selecting previously unselected package nvidia-visual-profiler.
Preparing to unpack .../35-nvidia-visual-profiler_9.1.85-3ubuntu1_amd64.deb ...
Unpacking nvidia-visual-profiler (9.1.85-3ubuntu1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-zCwPgg/30-nvidia-cuda-dev_9.1.85-3ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I run "sudo apt update" and i'm told to run "sudo apt --fix-broken install", which I do and I am left with this error:
Code:
th4ntis:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  nvidia-cuda-dev
Recommended packages:
  libnvcuvid1
The following NEW packages will be installed:
  nvidia-cuda-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
35 not fully installed or removed.
Need to get 0 B/263 MB of archives.
After this operation, 734 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 339987 files and directories currently installed.)
Preparing to unpack .../nvidia-cuda-dev_9.1.85-3ubuntu1_amd64.deb ...
Unpacking nvidia-cuda-dev (9.1.85-3ubuntu1) ...
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.2.89-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)


I then looked up how to install nvidia-cuda-dev and so far nothing there has helped me. So would anyone be able to help or point me in the right direction?
Reply
#2
(04-08-2020, 12:04 AM)th4ntis Wrote: I'm running ubuntu 18.04, nvidia-driver-440. I followed this guide as well as the one for the .run file, to install cuda, and when I attempt to run hashcat, I am left with an error message. I can bypass this by using the --force argument but I would like to not have to do this.


This is my output:

Code:
th4ntis:~$ hashcat -b
hashcat (v5.1.0-1772-g3c1ddc81) starting in benchmark mode...

Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.

* Device #1: WARNING! Kernel exec timeout is not disabled.
            This may cause "CL_OUT_OF_RESOURCES" or related errors.
            To disable the timeout, see: https://hashcat.net/q/timeoutpatch
* Device #2: Outdated or broken NVIDIA driver '440.33.01' detected!

You are STRONGLY encouraged to use the officially supported NVIDIA driver.
See hashcat's homepage for officially supported NVIDIA drivers.
See also: https://hashcat.net/faq/wrongdriver
You can use --force to override this, but do not report related errors.

Started: Tue Apr  7 17:38:55 2020
Stopped: Tue Apr  7 17:38:55 2020


So I did some googling and found a couple thread saying to install "nvidia-cuda-toolkit", which I attempt to do, but then I am faced with this:


Code:
th4ntis:~$ sudo apt install -y nvidia-cuda-toolkit
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following additional packages will be installed:
  g++-6 libaccinj64-9.1 libcublas9.1 libcudart9.1 libcufft9.1 libcufftw9.1 libcuinj64-9.1 libcurand9.1 libcusolver9.1 libcusparse9.1 libnppc9.1 libnppial9.1 libnppicc9.1 libnppicom9.1 libnppidei9.1 libnppif9.1
  libnppig9.1 libnppim9.1 libnppist9.1 libnppisu9.1 libnppitc9.1 libnpps9.1 libnvblas9.1 libnvgraph9.1 libnvrtc9.1 libnvtoolsext1 libnvvm3 libstdc++-6-dev libthrust-dev libvdpau-dev nvidia-cuda-dev
  nvidia-cuda-doc nvidia-cuda-gdb nvidia-profiler nvidia-visual-profiler
Suggested packages:
  g++-6-multilib gcc-6-doc libstdc++6-6-dbg libstdc++-6-doc libvdpau-doc libcupti-dev nvidia-driver
Recommended packages:
  libnvcuvid1
The following NEW packages will be installed:
  g++-6 libaccinj64-9.1 libcublas9.1 libcudart9.1 libcufft9.1 libcufftw9.1 libcuinj64-9.1 libcurand9.1 libcusolver9.1 libcusparse9.1 libnppc9.1 libnppial9.1 libnppicc9.1 libnppicom9.1 libnppidei9.1 libnppif9.1
  libnppig9.1 libnppim9.1 libnppist9.1 libnppisu9.1 libnppitc9.1 libnpps9.1 libnvblas9.1 libnvgraph9.1 libnvrtc9.1 libnvtoolsext1 libnvvm3 libstdc++-6-dev libthrust-dev libvdpau-dev nvidia-cuda-dev
  nvidia-cuda-doc nvidia-cuda-gdb nvidia-cuda-toolkit nvidia-profiler nvidia-visual-profiler
0 upgraded, 36 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/781 MB of archives.
After this operation, 1,813 MB of additional disk space will be used.
Extracting templates from packages: 100%
Selecting previously unselected package libstdc++-6-dev:amd64.
(Reading database ... 335006 files and directories currently installed.)
Preparing to unpack .../00-libstdc++-6-dev_6.5.0-2ubuntu1~18.04_amd64.deb ...
Unpacking libstdc++-6-dev:amd64 (6.5.0-2ubuntu1~18.04) ...
Selecting previously unselected package g++-6.
Preparing to unpack .../01-g++-6_6.5.0-2ubuntu1~18.04_amd64.deb ...
Unpacking g++-6 (6.5.0-2ubuntu1~18.04) ...
Selecting previously unselected package libaccinj64-9.1:amd64.
Preparing to unpack .../02-libaccinj64-9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libaccinj64-9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcublas9.1:amd64.
Preparing to unpack .../03-libcublas9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcublas9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcudart9.1:amd64.
Preparing to unpack .../04-libcudart9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcudart9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcufft9.1:amd64.
Preparing to unpack .../05-libcufft9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcufft9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcufftw9.1:amd64.
Preparing to unpack .../06-libcufftw9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcufftw9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcuinj64-9.1:amd64.
Preparing to unpack .../07-libcuinj64-9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcuinj64-9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcurand9.1:amd64.
Preparing to unpack .../08-libcurand9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcurand9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcusolver9.1:amd64.
Preparing to unpack .../09-libcusolver9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcusolver9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libcusparse9.1:amd64.
Preparing to unpack .../10-libcusparse9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libcusparse9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppc9.1:amd64.
Preparing to unpack .../11-libnppc9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppc9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppial9.1:amd64.
Preparing to unpack .../12-libnppial9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppial9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppicc9.1:amd64.
Preparing to unpack .../13-libnppicc9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppicc9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppicom9.1:amd64.
Preparing to unpack .../14-libnppicom9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppicom9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppidei9.1:amd64.
Preparing to unpack .../15-libnppidei9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppidei9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppif9.1:amd64.
Preparing to unpack .../16-libnppif9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppif9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppig9.1:amd64.
Preparing to unpack .../17-libnppig9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppig9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppim9.1:amd64.
Preparing to unpack .../18-libnppim9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppim9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppist9.1:amd64.
Preparing to unpack .../19-libnppist9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppist9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppisu9.1:amd64.
Preparing to unpack .../20-libnppisu9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppisu9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnppitc9.1:amd64.
Preparing to unpack .../21-libnppitc9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnppitc9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnpps9.1:amd64.
Preparing to unpack .../22-libnpps9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnpps9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnvblas9.1:amd64.
Preparing to unpack .../23-libnvblas9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnvblas9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnvgraph9.1:amd64.
Preparing to unpack .../24-libnvgraph9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnvgraph9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnvrtc9.1:amd64.
Preparing to unpack .../25-libnvrtc9.1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnvrtc9.1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libvdpau-dev:amd64.
Preparing to unpack .../26-libvdpau-dev_1.3-0ubuntu0~gpu18.04.2_amd64.deb ...
Unpacking libvdpau-dev:amd64 (1.3-0ubuntu0~gpu18.04.2) ...
Selecting previously unselected package libnvtoolsext1:amd64.
Preparing to unpack .../27-libnvtoolsext1_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnvtoolsext1:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libnvvm3:amd64.
Preparing to unpack .../28-libnvvm3_9.1.85-3ubuntu1_amd64.deb ...
Unpacking libnvvm3:amd64 (9.1.85-3ubuntu1) ...
Selecting previously unselected package libthrust-dev.
Preparing to unpack .../29-libthrust-dev_1.9.1~9.1.85-3ubuntu1_all.deb ...
Unpacking libthrust-dev (1.9.1~9.1.85-3ubuntu1) ...
Preparing to unpack .../30-nvidia-cuda-dev_9.1.85-3ubuntu1_amd64.deb ...
Unpacking nvidia-cuda-dev (9.1.85-3ubuntu1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-zCwPgg/30-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.2.89-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package nvidia-cuda-doc.
Preparing to unpack .../31-nvidia-cuda-doc_9.1.85-3ubuntu1_all.deb ...
Unpacking nvidia-cuda-doc (9.1.85-3ubuntu1) ...
Selecting previously unselected package nvidia-cuda-gdb.
Preparing to unpack .../32-nvidia-cuda-gdb_9.1.85-3ubuntu1_amd64.deb ...
Unpacking nvidia-cuda-gdb (9.1.85-3ubuntu1) ...
Selecting previously unselected package nvidia-profiler.
Preparing to unpack .../33-nvidia-profiler_9.1.85-3ubuntu1_amd64.deb ...
Unpacking nvidia-profiler (9.1.85-3ubuntu1) ...
Selecting previously unselected package nvidia-cuda-toolkit.
Preparing to unpack .../34-nvidia-cuda-toolkit_9.1.85-3ubuntu1_amd64.deb ...
Unpacking nvidia-cuda-toolkit (9.1.85-3ubuntu1) ...
Selecting previously unselected package nvidia-visual-profiler.
Preparing to unpack .../35-nvidia-visual-profiler_9.1.85-3ubuntu1_amd64.deb ...
Unpacking nvidia-visual-profiler (9.1.85-3ubuntu1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-zCwPgg/30-nvidia-cuda-dev_9.1.85-3ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I run "sudo apt update" and i'm told to run "sudo apt --fix-broken install", which I do and I am left with this error:
Code:
th4ntis:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  nvidia-cuda-dev
Recommended packages:
  libnvcuvid1
The following NEW packages will be installed:
  nvidia-cuda-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
35 not fully installed or removed.
Need to get 0 B/263 MB of archives.
After this operation, 734 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 339987 files and directories currently installed.)
Preparing to unpack .../nvidia-cuda-dev_9.1.85-3ubuntu1_amd64.deb ...
Unpacking nvidia-cuda-dev (9.1.85-3ubuntu1) ...
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.2.89-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)


I then looked up how to install nvidia-cuda-dev and so far nothing there has helped me. So would anyone be able to help or point me in the right direction?

Hello, that one worked really well for me.
https://www.netmux.com/blog/how-to-build...acking-rig

just take into consideration downloading the newer Nvidia driver.

cheers.
Reply
#3
I have Ubuntu 19.10/nvidia-430 here and I think everything just worked as expected. 

Worth trying to back out the -440 versions and installing -430, or removing nvidia-440 and downloading the drivers direct from NVIDIA?
Reply