package nvidia-cuda-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/include/cublas.h', which is also in package libcublas-dev 10.2.1.243-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-cuda-toolkit (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When I tried to install nvidia cuda using 'sudo apt install nvidia-
'Unpacking nvidia-cuda-dev (9.1.85-3ubuntu1) ...
dpkg: error processing archive /tmp/apt-
trying to overwrite '/usr/include/
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)'
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: nvidia-cuda-dev (not installed)
ProcVersionSign
Uname: Linux 5.0.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Thu Oct 3 19:59:18 2019
ErrorMessage: trying to overwrite '/usr/include/
InstallationDate: Installed on 2019-08-17 (47 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
Python3Details: /usr/bin/python3.6, Python 3.6.8, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15+, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2.2
apt 1.6.11
SourcePackage: nvidia-cuda-toolkit
Title: package nvidia-cuda-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/include/
UpgradeStatus: No upgrade log present (probably fresh install)
It looks like you have installed a libcublas-dev package which is not in the Ubuntu archive, and this package does not correctly declare its relation to packages in the Ubuntu archive.
Please remove the libcublas-dev package and try installing nvidia-cuda-toolkit again.