package libnvidia-compute-440 (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-0ubuntu2

Bug #1883509 reported by Ayush Kumar
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-340 (Ubuntu)
Confirmed
Undecided
Unassigned
nvidia-graphics-drivers-440 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1)lsb_release -rd
    Description: Ubuntu 20.04 LTS
    Release: 20.04

2)libnvidia-compute-440:
  Installed: (none)
  Candidate: 440.82+really.440.64-0ubuntu6
  Version table:
     440.82+really.440.64-0ubuntu6 500
        500 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages
     440.82-1pop1ubuntu1~1588025390~20.04~bf29882~dev 500
        500 http://ppa.launchpad.net/system76-dev/stable/ubuntu focal/main amd64 Packages
     440.82-0ubuntu0~0.20.04.1 500
        500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal/main amd64 Packages

3)Expected behavior
The package should have got installed correctly without intervention.

4)What happened
The package somehow stopped working during installation and was thus needed to be fixed through apt fix broken install command.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: libnvidia-compute-440 (not installed)
ProcVersionSignature: Ubuntu 5.4.0-7634.38~1591219791~20.04~6b1c5de~dev-generic 5.4.41
Uname: Linux 5.4.0-7634-generic x86_64
NonfreeKernelModules: wl nvidia
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon Jun 15 14:21:41 2020
ErrorMessage: trying to overwrite '/usr/lib/x86_64-linux-gnu/libnvidia-ml.so', which is also in package nvidia-340 340.108-0ubuntu2
InstallationDate: Installed on 2020-03-27 (80 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.1
SourcePackage: nvidia-graphics-drivers-440
Title: package libnvidia-compute-440 (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-0ubuntu2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ayush Kumar (thelivingdodo001) wrote :
Revision history for this message
Balint Harmath (bharmath) wrote :

The bug is that in the case of dependency collision, installer gets terminated. However the waited behaviour is that only one gets installed and the other ignored.

Changed in nvidia-graphics-drivers-440 (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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