Installing nvidia-cudnn or nvidia-cuda-toolkit removes nvidia-driver-515
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-cuda-toolkit (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm running a fresh install of Ubuntu 22.04.1 LTS with the Proprietary/Tested drivers installed for my NVIDIA GPU, nvidia-driver-515.
I attempted to install the nvidia-cuda-toolkit and nvidia-cudnn packages, and I expected the packages to be installed normally.
However, both packages attempt to uninstall the NVIDIA driver, leaving my system unusable. It does this without installing a supported driver or recommending a supported driver.
I have found that if I manually install the nvidia-driver-510, I can install the toolkit and cudnn without it installing the NVIDIA driver.
Further information:
$ lsb_release -rd 18:28:35
Description: Ubuntu 22.04.1 LTS
Release: 22.04
NVIDIA Driver Version: 515.65.01
Attempted nvidia-cuda-toolkit version: 11.5.1-1ubuntu1
Attempted nvidia-cudnn version: 8.2.4.15~cuda11.4
Output when installing nvidia-cuda-toolkit and nvidia-cudnn:
The following packages will be REMOVED:
libnvidia-
libnvidia-
nvidia-utils-515
The following NEW packages will be installed:
ca-certificat
libatk-
libcuinj64-11.5 libcupti-dev libcupti-doc libcupti11.5 libcurand10 libcusolver11 libcusolvermg11
libcusparse11 libegl-dev libgl-dev libgl1-mesa-dev libgles-dev libgles1 libglvnd-core-dev
libglvnd-dev libglx-dev libjs-sphinxdoc libjs-underscore libnppc11 libnppial11 libnppicc11
libnppidei11 libnppif11 libnppig11 libnppim11 libnppist11 libnppisu11 libnppitc11 libnpps11
libnvblas11 libnvidia-
libnvrtc-
libtbb-dev libtbb12 libtbbmalloc2 libthrust-dev libvdpau-dev libx11-dev libxau-dev libxcb1-dev
libxdmcp-dev node-html5shiv nsight-compute nsight-
nsight-
nvidia-cudnn nvidia-opencl-dev nvidia-profiler nvidia-
opencl-c-headers opencl-
xorg-
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-08-06 (2 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
NonfreeKernelMo
Package: nvidia-cuda-toolkit 11.5.1-1ubuntu1
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/zsh
ProcVersionSign
Tags: jammy
Uname: Linux 5.15.0-43-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: docker
_MarkForUpload: True
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1983790
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.