Public bug reported: $ 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) ** Affects: python-pysqlite2 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1869090 Title: Duplicate /usr/lib/debug/usr/lib/python2.7/dist- packages/pysqlite2/_sqlite.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pysqlite2/+bug/1869090/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs