I am trying to install CUDA for Deep Learning purposes and I have followed the instructions that can be find here.
Everything seems is going good but when finally I run the command sudo apt-get install cuda-10-0
(same if I do not specify the CUDA version), I get the following error:
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-10-0 : Depends: cuda-runtime-10-0 (>= 10.0.130) but it is not going to be installed
Depends: cuda-demo-suite-10-0 (>= 10.0.130) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I have searched similar errors on web but there is not something exactly like this.
Edit:
I have tried to do it on the other way, using the .run
file after accept the conditions of the License what I get is:
Installing the NVIDIA display driver...
The driver installation has failed due to an unknown error. Please consult the driver installation log located at /var/log/nvidia-installer.log.
Installing the NVIDIA display driver...
The driver installation has failed due to an unknown error. Please consult the driver installation log located at /var/log/nvidia-installer.log.
===========
= Summary =
===========
Driver: Installation Failed
Toolkit: Installation skipped
Samples: Installation skipped
When I check the logs in that file I see:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed May 6 14:12:03 2020
installer version: 410.48
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
nvidia-installer command line:
./nvidia-installer
--ui=none
--no-questions
--accept-license
--disable-nouveau
--no-cc-version-check
--run-nvidia-xconfig
--dkms
Using built-in stream user interface
-> Detected 16 CPUs online; setting concurrency level to 16.
ERROR: An NVIDIA kernel module 'nvidia-drm' appears to already be loaded in your kernel. This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel was configured without support for module unloading. Please be sure to exit any programs that may be using the GPU(s) before attempting to upgrade your driver. If no GPU-based programs are running, you know that your kernel supports module unloading, and you still receive this message, then an error may have occured that has corrupted an NVIDIA kernel module's usage count, for which the simplest remedy is to reboot your computer.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
sudo apt
commands to install deb based packages as well assudo snap install
commands. yy releases files use only thesnap install
commands as are snap based specialist releases. Your picture shows your release as Ubuntu 19.10, which is a deb based system that can use deb files as well as snaps. They are not the same system, the yy based systems are less flexible, but ideal for appliances & devices with limited cpu/memory usually found in IoT appliances/NAS/routers/TVs etc. yy.mm based systems are usually found on computers – guiverc May 06 '20 at 12:44