package libopencv-dnn-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/include/opencv4/opencv2/dnn/all_layers.hpp', which is also in package libopencv-dev 4.1.1-2-gd5a58aa75
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
opencv (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Didn't know what exactly happened. I'm using the system mostly for ML purposes with Nvidia drivers and ML frameworks. Upgraded from 18.04 to 20.04 today and ran into some errors with libopencv.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: libopencv-dnn-dev (not installed)
ProcVersionSign
Uname: Linux 5.4.0-33-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckR
Date: Tue Jun 2 08:58:20 2020
ErrorMessage: trying to overwrite '/usr/include/
InstallationDate: Installed on 2018-07-07 (695 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.0.5ubuntu2.3
apt 2.0.2ubuntu0.1
SourcePackage: opencv
Title: package libopencv-dnn-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/include/
UpgradeStatus: No upgrade log present (probably fresh install)
libopencv-dev 4.1.1-2-gd5a58aa75
Thank you for taking the time to report this bug and trying to help make Ubuntu better. However, it seems that you are not using a software package provided by the official Ubuntu repositories. Because of this the Ubuntu project can not support or fix your particular bug. Please report this bug to the provider of the software package. Thanks!
If you are interested in learning more about software repositories and Ubuntu, check https:/ /help.ubuntu. com/community/ Repositories.