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

Bug #2002548 reported by Meslin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-510 (Ubuntu)
New
Undecided
Unassigned

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)

Revision history for this message
Meslin (meslin) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.