I just tried to upgrade from ubuntu 17.10 to 18.04 and encountered the
bug described in this report.

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-384 384.111-0ubuntu0.17.10.1
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-kernel-common-390_390.48-0ubuntu3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

apt --fix-broken install didn't do the trick for me, I was able to get things 
working again running 
dpkg -i --force-overwrite 
/var/cache/apt/archives/nvidia-kernel-common-390_390.48-0ubuntu3_amd64.deb

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753073

Title:
  package nvidia-dkms-390 390.25-0ubuntu4 failed to install/upgrade:
  trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also
  in package nvidia-384 384.111-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1753073/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to