package nvidia-340 (not installed) failed to install/upgrade: trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also in package nvidia-kernel-common-440 440.59-0ubuntu2

Bug #1865577 reported by Mauricio Nascimento
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-340 (Ubuntu)
New
Undecided
Unassigned

Bug Description

While updating my system running Focal (20.04), my nvidia drivers are not working and now I cannot install the updates (ubuntu-drivers autoinstall).
I tried to purge everything installed and named nvidia and after autoinstalling the correct driver for my system.
Thanks for helping out.

1)
aurion@w540:~$ lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04

2)
aurion@w540:~$ apt-cache policy nvidia-340
nvidia-340:
  Installed: (none)
  Candidate: 340.108-0ubuntu2
  Version table:
     340.108-0ubuntu2 500
        500 http://br.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages

3) I would like to be able to install this version of nvidia driver since I have a dockstation and I use the thunderbolt connection for my external monitor

4) I got an error message that the script could not install the drivers. I also had a look into the synaptic additional drivers and the nvidia is selected as installed. However the rendering of my screen is very slow and when I switch to another screen, I can see the window been reloaded.
Also I am unable to connect my external monitor via thunderbolt.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: nvidia-340 (not installed)
ProcVersionSignature: Ubuntu 5.4.0-17.21-generic 5.4.22
Uname: Linux 5.4.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.11-0ubuntu18
Architecture: amd64
Date: Sun Mar 1 21:36:20 2020
DuplicateSignature:
 package:nvidia-340:(not installed)
 Unpacking nvidia-340 (340.108-0ubuntu2) ...
 dpkg: error processing archive /var/cache/apt/archives/nvidia-340_340.108-0ubuntu2_amd64.deb (--unpack):
  trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also in package nvidia-kernel-common-440 440.59-0ubuntu2
ErrorMessage: trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also in package nvidia-kernel-common-440 440.59-0ubuntu2
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu2
 apt 1.9.12
SourcePackage: nvidia-graphics-drivers-340
Title: package nvidia-340 (not installed) failed to install/upgrade: trying to overwrite '/lib/udev/rules.d/71-nvidia.rules', which is also in package nvidia-kernel-common-440 440.59-0ubuntu2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mauricio Nascimento (mfpnas) wrote :
tags: removed: need-duplicate-check
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.