Duplicate /usr/lib/debug/usr/lib/python2.7/dist-packages/pysqlite2/_sqlite.so

Bug #1869090 reported by Brian Foster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-pysqlite2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ sudo apt install ...
 [...]
Unpacking python-pysqlite2-dbg (2.7.0-1) ...
Selecting previously unselected package python-pysqlite2-dbgsym.
Preparing to unpack .../22-python-pysqlite2-dbgsym_2.7.0-1_amd64.ddeb.deb ...
Unpacking python-pysqlite2-dbgsym (2.7.0-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-ZChtVH/22-python-pysqlite2-dbgsym_2.7.0-1_amd64.ddeb.deb (--unpack):
 trying to overwrite '/usr/lib/debug/usr/lib/python2.7/dist-packages/pysqlite2/_sqlite.so', which is also in package python-pysqlite2-dbg 2.7.0-1
Errors were encountered while processing:
 /tmp/apt-dpkg-install-ZChtVH/22-python-pysqlite2-dbgsym_2.7.0-1_amd64.ddeb.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$

Originally, I had intended to only install -dbgsym and not -dbg,
but the -dbg package was suggested (not sure by which package?),
so tried to install both -- with the above results. Worked-around
the problem by a simple `sudo apt remove python-pysqlite2-dbgsym',
with allowed the installation to proceed and complete without any
obvious problems.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: python-pysqlite2-dbgsym (not installed)
ProcVersionSignature: Ubuntu 4.15.0-91.92-generic 4.15.18
Uname: Linux 4.15.0-91-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.12
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Mar 25 23:53:16 2020
InstallationDate: Installed on 2016-10-07 (1265 days ago)
InstallationMedia: Kubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: python-pysqlite2
UpgradeStatus: Upgraded to bionic on 2018-08-18 (585 days ago)

Revision history for this message
Brian Foster (blfoster) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.