package libnvidia-compute-390 (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.106-0ubuntu3

Bug #1768072 reported by Matt Hall
240
This bug affects 53 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-340 (Ubuntu)
Confirmed
Undecided
Unassigned
nvidia-graphics-drivers-390 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Just upgraded to 18.04 from 16.04. Installing nvidia-cuda-toolkit. Seems like there's a missing subpackage?

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: libnvidia-compute-390 (not installed)
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Mon Apr 30 17:01:12 2018
ErrorMessage: trying to overwrite '/usr/lib/x86_64-linux-gnu/libnvidia-ml.so', which is also in package nvidia-340 340.106-0ubuntu3
InstallationDate: Installed on 2014-08-27 (1342 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.1
SourcePackage: nvidia-graphics-drivers-390
Title: package libnvidia-compute-390 (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.106-0ubuntu3
UpgradeStatus: Upgraded to bionic on 2018-04-30 (0 days ago)

Revision history for this message
Matt Hall (soolijoo) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: New → Confirmed
Revision history for this message
ZX80 (zx80) wrote :

still an ongoing issue, seems that some of the low-level *.so shared-objects ought to be moved to their own DPKG, and not included in-line directly in the higher-level DPKG of each application.

Discussion active 2 months ago:
https://askubuntu.com/questions/1321987/which-version-for-correct-nvidia-setup-for-ubuntu-20-04

Revision history for this message
ZX80 (zx80) wrote :

Possible workaround:
 - after the install fails, can repair it with DPKG "--force-overwrite":

apt-get -o Dpkg::Options::="--force-overwrite" install --fix-broken

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.