[Bug 1969190] Re: package libpython3.10-minimal 3.10.4-1+focal1 failed to install/upgrade: trying to overwrite '/usr/lib/python3.10/typing', which is also in package libpython3.10-stdlib:amd64 3.10.4-1+focal3

William Andrea 1969190 at bugs.launchpad.net
Fri Apr 15 18:10:18 UTC 2022


I think this is caused by a deadsnakes issue
(https://github.com/deadsnakes/issues/issues/207), which I was
experiencing myself (and resolved by following the instructions on
GitHub), but it was just making the upgrade fail, not making update
crash. It might be affecting you worse because it looks like you've set
python3.10 as "python", probably by symlinking /usr/bin/python ->
/usr/bin/python3.10, which contradicts python-is-python2.

** Bug watch added: github.com/deadsnakes/issues/issues #207
   https://github.com/deadsnakes/issues/issues/207

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.10 in Ubuntu.
https://bugs.launchpad.net/bugs/1969190

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

Status in python3.10 package in Ubuntu:
  New

Bug description:
  software update is crashing

  ProblemType: Package
  Architecture: amd64
  Date: Fri Apr 15 09:20:26 2022
  Package: libpython3.10-minimal 3.10.4-1+focal2
  SourcePackage: python3.10
  ErrorMessage:
   trying to overwrite '/usr/lib/python3.10/typing.py', which is also in package libpython3.10-stdlib:amd64 3.10.4-1+foca
  DuplicateSignature:
   package:libpython3.10-minimal:3.10.4-1+focal1 [origin: unknown]
   Unpacking libpython3.10-stdlib:amd64 (3.10.4-1+focal2) over (3.10.4-1+focal1) ...
   dpkg: error processing archive /tmp/apt-dpkg-install-Tno8nW/05-libpython3.10-stdlib_3.10.4-1+focal2_amd64.deb (--unpack):
    trying to overwrite '/usr/lib/python3.10/_sysconfigdata__linux_x86_64-linux-gnu.py', which is also in package libpython3.10-minimal:amd64 3.10.4-1+focal1
  ...
  ProcVersionSignature: Ubuntu 5.13.0-39.44~20.04.1-generic 5.13.19
  Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
  PythonDetails: /usr/bin/python3.10, Python 3.10.4, python-is-python2, 2.7.17-4
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.6
  Tags: third-party-packages focal package-conflict
  Title: package libpython3.10-minimal 3.10.4-1+focal1 [origin: unknown] failed to install/upgrade: trying to overwrite '/usr/lib/python3.10/typing.py', which is also in package libpython3.10-stdlib:amd64 3.10.4-1+focal1
  Uname: Linux 5.13.0-39-generic x86_64
  UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again.
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.10/+bug/1969190/+subscriptions




More information about the foundations-bugs mailing list