package nvidia-cuda-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/stubs/libcublas.so', which is also in package libcublas-dev 10.1.0.105-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-cuda-toolkit (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
N/A
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: nvidia-cuda-dev (not installed)
ProcVersionSign
Uname: Linux 4.15.0-46-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Thu Mar 7 20:44:19 2019
ErrorMessage: trying to overwrite '/usr/lib/
InstallationDate: Installed on 2019-03-07 (3 days ago)
InstallationMedia: Ubuntu 16.04.6 LTS "Xenial Xerus" - Release amd64 (20190227)
RelatedPackageV
dpkg 1.18.4ubuntu1.5
apt 1.2.29ubuntu0.1
SourcePackage: nvidia-cuda-toolkit
Title: package nvidia-cuda-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/
UpgradeStatus: No upgrade log present (probably fresh install)
It looks like you have a package libcublas-dev installed, which is not from the Ubuntu archive, and this package does not declare the correct Conflicts relationships with nvidia-cuda-dev, which is in the Ubuntu archive.
You'll need to resolve the conflict manually, i.e. remove one or the other package.