package libpython3.9-minimal 3.9.0-1+focal3 failed to install/upgrade: trying to overwrite '/usr/lib/python3.9/typing.py', which is also in package libpython3.9-stdlib:amd64 3.9.0-1+focal3

Bug #1903380 reported by Bernardo
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python3.9 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

error during upgrade of OS

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: libpython3.9-minimal 3.9.0-1+focal3
ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
Uname: Linux 5.4.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sat Nov 7 09:29:55 2020
DuplicateSignature:
 package:libpython3.9-minimal:3.9.0-1+focal3
 Unpacking libpython3.9-stdlib:amd64 (3.9.0-5~20.04) over (3.9.0-1+focal3) ...
 dpkg: error processing archive /tmp/apt-dpkg-install-sTkblq/00-libpython3.9-stdlib_3.9.0-5~20.04_amd64.deb (--unpack):
  trying to overwrite '/usr/lib/python3.9/_sysconfigdata__linux_x86_64-linux-gnu.py', which is also in package libpython3.9-minimal:amd64 3.9.0-1+focal3
ErrorMessage: trying to overwrite '/usr/lib/python3.9/typing.py', which is also in package libpython3.9-stdlib:amd64 3.9.0-1+focal3
InstallationDate: Installed on 2020-10-05 (32 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.1
SourcePackage: python3.9
Title: package libpython3.9-minimal 3.9.0-1+focal3 failed to install/upgrade: trying to overwrite '/usr/lib/python3.9/typing.py', which is also in package libpython3.9-stdlib:amd64 3.9.0-1+focal3
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Bernardo (bernardo96) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python3.9 (Ubuntu):
status: New → Confirmed
Revision history for this message
silviot (silviot) wrote :

For me this appeared right after I added the deadsnakes ppa:

```
add-apt-repository ppa:deadsnakes/ppa
apt upgrade
```

So I have a hunch it's caused by the interaction of ubuntu packages and the deadsnakes ones.

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.