package python3-catkin-pkg (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/python3/dist-packages/catkin_pkg/__init__.py', which is also in package python3-catkin-pkg-modules 0.5.2-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ros-catkin-pkg (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The following error happened, and because of that I could not proceed with the system upgrade.
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 22.10
Package: python3-catkin-pkg (not installed)
ProcVersionSign
Uname: Linux 5.19.0-29-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
Date: Mon Jan 16 10:50:39 2023
ErrorMessage: trying to overwrite '/usr/lib/
InstallationDate: Installed on 2022-03-14 (307 days ago)
InstallationMedia: Ubuntu 20.04.4 LTS "Focal Fossa" - Release amd64 (20220223)
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.9ubuntu1
apt 2.5.3
SourcePackage: ros-catkin-pkg
Title: package python3-catkin-pkg (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/
UpgradeStatus: Upgraded to kinetic on 2022-12-22 (25 days ago)
python3- catkin- pkg-modules is not part of any Ubuntu or Debian version, I assume you got it from packages.ros.org. Please remove that package with: `sudo apt purge python3- catkin- pkg-modules` .