Error when trying to install up to date cuda environment on Ubuntu 22.04
0
votes
0
answers
70
views
I'm following NVidias instructions there: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_local
I'm encountering several issues.
First of all, after the cuda toolkit installation, I expected to have
The first given step is
nvcc
available but it appears not to be there. I'm prompted to do apt install nvidia-cuda-toolkit
that points to the default repository version and it is outdated.
Anyway, I'm trying to get to the next step, which is updating drivers.The first given step is
apt install nvidia-open
and it fails with:
The following packages have unmet dependencies:
> nvidia-kernel-common-535 : Conflicts with: nvidia-kernel-common
nvidia-kernel-common-560 : Depends: nvidia-modprobe (>= 560.35.05-0ubuntu1) but 470.103.01-1 will be installed
Conflicts with: nvidia-kernel-common
E: Error, pkgProblem::Resolve generated breaks, this may be caused by held packages.
I tried also my original driver install procedure:
sudo ubuntu-drivers devices
sudo ubuntu-drivers install
The recommanded version appears to be 560 but installation fails with same error as above.
How to fix this issue?
Asked by Oersted
(101 rep)
Jan 9, 2025, 09:22 AM