dpkg file conflicts between nVidia provided package and Ubuntu provided one

Bug #1771215 reported by Srdan Dukic on 2018-05-14
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
Undecided
Unassigned

Bug Description

When trying to install the "nvidia-390" package from the nVidia repos, dpkg errors out due to conflicts in which package "owns" these particular files:

srdan@srdan-study-desktop-1804:~/Downloads$ sudo dpkg -i --force-overwrite /var/cache/apt/archives/nvidia-390_390.30-0ubuntu1_amd64.deb
(Reading database ... 153860 files and directories currently installed.)
Preparing to unpack .../nvidia-390_390.30-0ubuntu1_amd64.deb ...
Unpacking nvidia-390 (390.30-0ubuntu1) ...
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also in package nvidia-kernel-common-390 390.48-0ubuntu3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/sbin/create-uvm-dev-node', which is also in package nvidia-kernel-common-390 390.48-0ubuntu3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/egl/egl_external_platform.d/10_nvidia_wayland.json', which is also in package libnvidia-gl-390:amd64 390.48-0ubuntu3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/egl/egl_external_platform.d/10_nvidia_wayland.json', which is also in package libnvidia-gl-390:i386 390.48-0ubuntu3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/glvnd/egl_vendor.d/10_nvidia.json', which is also in package libnvidia-gl-390:amd64 390.48-0ubuntu3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/glvnd/egl_vendor.d/10_nvidia.json', which is also in package libnvidia-gl-390:i386 390.48-0ubuntu3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/initramfs-tools/hooks/framebuffer-nvidia', which is also in package nvidia-kernel-common-390 390.48-0ubuntu3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/vulkan/icd.d/nvidia_icd.json', which is also in package libnvidia-gl-390:amd64 390.48-0ubuntu3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/vulkan/icd.d/nvidia_icd.json', which is also in package libnvidia-gl-390:i386 390.48-0ubuntu3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0', which is also in package libglx-mesa0:amd64 18.0.0~rc5-1ubuntu1

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: nvidia-kernel-common-390 390.48-0ubuntu3
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7
AptOrdering:
 nvidia-kernel-common-390:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Tue May 15 09:21:22 2018
Dependencies:

DpkgTerminalLog:
 Preparing to unpack .../nvidia-kernel-common-390_390.48-0ubuntu3_amd64.deb ...
 Unpacking nvidia-kernel-common-390 (390.48-0ubuntu3) ...
 dpkg: error processing archive /var/cache/apt/archives/nvidia-kernel-common-390_390.48-0ubuntu3_amd64.deb (--unpack):
  trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also in package nvidia-390 390.30-0ubuntu1
ErrorMessage: trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also in package nvidia-390 390.30-0ubuntu1
InstallationDate: Installed on 2018-05-13 (1 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /root/Error: command ['which', 'python'] failed with exit code 1:, Error: [Errno 2] No such file or directory: "/root/Error: command ['which', 'python'] failed with exit code 1:": "/root/Error: command ['which', 'python'] failed with exit code 1:", unpackaged
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.1
SourcePackage: nvidia-graphics-drivers-390
Title: package nvidia-kernel-common-390 390.48-0ubuntu3 failed to install/upgrade: trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also in package nvidia-390 390.30-0ubuntu1
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.modprobe.d.nvidia-graphics-drivers.conf: 2018-02-01T16:25:55

Srdan Dukic (srkinz84) wrote :
Launchpad Janitor (janitor) wrote :

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

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

Other bug subscribers