package nvidia-340 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/libnvidia-ml.so', which is also in package libnvidia-compute-390:amd64 390.77-0ubuntu0.18.04.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-340 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
First of all, I installer the nvidia driver via this following repo: sudo add-apt-repository ppa:graphics-
Then I got the error message attached in this report when I tried to install nvidia-
So I tried to uninstall all nvidia:
sudo add-apt-repository --remove ppa:graphics-
sudo apt update
ubuntu-drivers devices
Then I install the nvidia driver from the official repo of ubuntu like described in https:/
Then I tried to install nvidia-cuda-toolkit again but I faced the same issue.
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: nvidia-340 (not installed)
ProcVersionSign
Uname: Linux 4.15.0-42-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.5
AptOrdering:
nvidia-340:amd64: Install
NULL: ConfigurePending
Architecture: amd64
Date: Mon Dec 10 12:45:12 2018
DuplicateSignature:
package:
Unpacking nvidia-340 (340.107-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/lib/
ErrorMessage: trying to overwrite '/usr/lib/
InstallationDate: Installed on 2018-12-06 (3 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.0.5ubuntu2.1
apt 1.6.6
SourcePackage: nvidia-
Title: package nvidia-340 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #1798721, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.