Public bug reported: I was trying to install nvcc. The output for nvidia-smi is:
$ nvidia-smi Wed Jan 11 11:14:57 2023 +------------------------------------------------------+ | NVIDIA-SMI 340.108 Driver Version: 340.108 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce 8400 GS Off | 0000:01:00.0 N/A | N/A | | N/A 54C P0 N/A / N/A | 347MiB / 511MiB | N/A Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Compute processes: GPU Memory | | GPU PID Process name Usage | |=============================================================================| | 0 Not Supported | +-----------------------------------------------------------------------------+ ProblemType: Package DistroRelease: Ubuntu 22.04 Package: libnvidia-compute-510 (not installed) ProcVersionSignature: Ubuntu 5.15.0-57.63-generic 5.15.74 Uname: Linux 5.15.0-57-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.20.11-0ubuntu82.3 Architecture: amd64 CasperMD5CheckResult: unknown Date: Wed Jan 11 11:12:08 2023 ErrorMessage: trying to overwrite '/usr/lib/x86_64-linux-gnu/libnvidia-ml.so', which is also in package nvidia-340 340.108-4ppajammy5 InstallationDate: Installed on 2020-08-11 (882 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04 PythonDetails: N/A RelatedPackageVersions: dpkg 1.21.1ubuntu2.1 apt 2.4.8 SourcePackage: nvidia-graphics-drivers-510 Title: package libnvidia-compute-510 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/libnvidia-ml.so', which is also in package nvidia-340 340.108-4ppajammy5 UpgradeStatus: Upgraded to jammy on 2023-01-07 (3 days ago) ** Affects: nvidia-graphics-drivers-510 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package jammy -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-510 in Ubuntu. https://bugs.launchpad.net/bugs/2002548 Title: package libnvidia-compute-510 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux- gnu/libnvidia-ml.so', which is also in package nvidia-340 340.108-4ppajammy5 Status in nvidia-graphics-drivers-510 package in Ubuntu: New Bug description: I was trying to install nvcc. The output for nvidia-smi is: $ nvidia-smi Wed Jan 11 11:14:57 2023 +------------------------------------------------------+ | NVIDIA-SMI 340.108 Driver Version: 340.108 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce 8400 GS Off | 0000:01:00.0 N/A | N/A | | N/A 54C P0 N/A / N/A | 347MiB / 511MiB | N/A Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Compute processes: GPU Memory | | GPU PID Process name Usage | |=============================================================================| | 0 Not Supported | +-----------------------------------------------------------------------------+ ProblemType: Package DistroRelease: Ubuntu 22.04 Package: libnvidia-compute-510 (not installed) ProcVersionSignature: Ubuntu 5.15.0-57.63-generic 5.15.74 Uname: Linux 5.15.0-57-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.20.11-0ubuntu82.3 Architecture: amd64 CasperMD5CheckResult: unknown Date: Wed Jan 11 11:12:08 2023 ErrorMessage: trying to overwrite '/usr/lib/x86_64-linux-gnu/libnvidia-ml.so', which is also in package nvidia-340 340.108-4ppajammy5 InstallationDate: Installed on 2020-08-11 (882 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04 PythonDetails: N/A RelatedPackageVersions: dpkg 1.21.1ubuntu2.1 apt 2.4.8 SourcePackage: nvidia-graphics-drivers-510 Title: package libnvidia-compute-510 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/libnvidia-ml.so', which is also in package nvidia-340 340.108-4ppajammy5 UpgradeStatus: Upgraded to jammy on 2023-01-07 (3 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-510/+bug/2002548/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp