package libnvidia-common-450-server (not installed) failed to install/upgrade: trying to overwrite '/usr/share/nvidia/nvidia-application-profiles-450.102.04-key-documentation', which is also in package libnvidia-common-450 450.102.04-0ubuntu0.20.04.1

Bug #1912506 reported by Mauricio González
40
This bug affects 9 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-450-server (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

package libnvidia-common-450-server (not installed) failed to install/upgrade: trying to overwrite '/usr/share/nvidia/nvidia-application-profiles-450.102.04-key-documentation', which is also in package libnvidia-common-450 450.102.04-0ubuntu0.20.04.1

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: libnvidia-common-450-server (not installed)
ProcVersionSignature: Ubuntu 5.8.0-38.43~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-38-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.14
AptOrdering:
 libnvidia-common-450-server:amd64: Install
 libnvidia-common-440-server:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Jan 20 10:17:06 2021
DpkgTerminalLog:
 Preparing to unpack .../libnvidia-common-450-server_450.102.04-0ubuntu0.20.04.1_all.deb ...
 Unpacking libnvidia-common-450-server (450.102.04-0ubuntu0.20.04.1) ...
 dpkg: error processing archive /var/cache/apt/archives/libnvidia-common-450-server_450.102.04-0ubuntu0.20.04.1_all.deb (--unpack):
  trying to overwrite '/usr/share/nvidia/nvidia-application-profiles-450.102.04-key-documentation', which is also in package libnvidia-common-450 450.102.04-0ubuntu0.20.04.1
DuplicateSignature:
 package:libnvidia-common-450-server:(not installed)
 Unpacking libnvidia-common-450-server (450.102.04-0ubuntu0.20.04.1) ...
 dpkg: error processing archive /var/cache/apt/archives/libnvidia-common-450-server_450.102.04-0ubuntu0.20.04.1_all.deb (--unpack):
  trying to overwrite '/usr/share/nvidia/nvidia-application-profiles-450.102.04-key-documentation', which is also in package libnvidia-common-450 450.102.04-0ubuntu0.20.04.1
ErrorMessage: trying to overwrite '/usr/share/nvidia/nvidia-application-profiles-450.102.04-key-documentation', which is also in package libnvidia-common-450 450.102.04-0ubuntu0.20.04.1
InstallationDate: Installed on 2020-06-21 (212 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.2
SourcePackage: nvidia-graphics-drivers-450-server
Title: package libnvidia-common-450-server (not installed) failed to install/upgrade: trying to overwrite '/usr/share/nvidia/nvidia-application-profiles-450.102.04-key-documentation', which is also in package libnvidia-common-450 450.102.04-0ubuntu0.20.04.1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mauricio González (cemaugo23) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers-450-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Facundo Batista (facundo) wrote :

I got this just when updating packages, no specific install done.

Revision history for this message
Fabrizio Sebastiani (fabrizio-r) wrote :

I also got the same when updating packages.

root@pcfaber:/opt# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libnvidia-common-450-server
The following NEW packages will be installed:
  libnvidia-common-450-server
0 upgraded, 1 newly installed, 0 to remove and 277 not upgraded.
1 not fully installed or removed.
Need to get 0 B/10,0 kB of archives.
After this operation, 35,8 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 462595 files and directories currently installed.)
Preparing to unpack .../libnvidia-common-450-server_450.102.04-0ubuntu0.20.04.1_all.deb ...
Unpacking libnvidia-common-450-server (450.102.04-0ubuntu0.20.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libnvidia-common-450-server_450.102.04-0ubuntu0.20.04.1_all.deb (--unpack):
 trying to overwrite '/usr/share/nvidia/nvidia-application-profiles-450.102.04-key-documentation', which is also in package libnvidia-common-450 450.102.04-0ubuntu0.20.04.1
Errors were encountered while processing:
 /var/cache/apt/archives/libnvidia-common-450-server_450.102.04-0ubuntu0.20.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pcfaber:/opt#

Revision history for this message
Fabrizio Sebastiani (fabrizio-r) wrote :

a workaround for me was this https://askubuntu.com/questions/1285472/ubuntu-18-04-broken-install-problem-with-libnvidia-common-450-package

  sudo apt-get -o Dpkg::Options::="--force-overwrite" install -f libnvidia-common-450-server

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.