[Bug 2122464] [NEW] package libpython3.12-minimal (not installed) failed to install/upgrade: trying to overwrite '/etc/python3.12/sitecustomize.py', which is also in package libpython3.12-stdlib:amd64 3.12.11-1+jammy1

Cloto Atropos 2122464 at bugs.launchpad.net
Wed Sep 10 00:10:09 UTC 2025


Public bug reported:

Running sudo apt reinstall nautilus libnautilus-extension4 nautilus-data
the following error occured:

dpkg: error processing archive /var/cache/apt/archives/python3.12-minima
l_3.12.3-1ubuntu0.8_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/python3.12', which is also in package pyt
hon3.12 3.12.11-1+jammy1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libpython3.12-minimal_3.12.3-1ubuntu0.8_amd64.d
eb
 /var/cache/apt/archives/python3.12-minimal_3.12.3-1ubuntu0.8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: libpython3.12-minimal (not installed)
ProcVersionSignature: Ubuntu 6.8.0-79.79~22.04.1-generic 6.8.12
Uname: Linux 6.8.0-79-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Sep  9 21:07:05 2025
ErrorMessage: trying to overwrite '/etc/python3.12/sitecustomize.py', which is also in package libpython3.12-stdlib:amd64 3.12.11-1+jammy1
InstallationDate: Installed on 2024-08-04 (401 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04.1
PythonDetails: /usr/bin/python3.10, Python 3.10.12, python-is-python3, 3.11.4-1
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.3
 apt  2.4.14
SourcePackage: python3.12
Title: package libpython3.12-minimal (not installed) failed to install/upgrade: trying to overwrite '/etc/python3.12/sitecustomize.py', which is also in package libpython3.12-stdlib:amd64 3.12.11-1+jammy1
UpgradeStatus: Upgraded to noble on 2025-09-09 (1 days ago)

** Affects: python3.12 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package noble

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

Title:
  package libpython3.12-minimal (not installed) failed to
  install/upgrade: trying to overwrite
  '/etc/python3.12/sitecustomize.py', which is also in package
  libpython3.12-stdlib:amd64 3.12.11-1+jammy1

Status in python3.12 package in Ubuntu:
  New

Bug description:
  Running sudo apt reinstall nautilus libnautilus-extension4 nautilus-data
  the following error occured:

  dpkg: error processing archive /var/cache/apt/archives/python3.12-minima
  l_3.12.3-1ubuntu0.8_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/python3.12', which is also in package pyt
  hon3.12 3.12.11-1+jammy1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libpython3.12-minimal_3.12.3-1ubuntu0.8_amd64.d
  eb
   /var/cache/apt/archives/python3.12-minimal_3.12.3-1ubuntu0.8_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 24.04
  Package: libpython3.12-minimal (not installed)
  ProcVersionSignature: Ubuntu 6.8.0-79.79~22.04.1-generic 6.8.12
  Uname: Linux 6.8.0-79-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Tue Sep  9 21:07:05 2025
  ErrorMessage: trying to overwrite '/etc/python3.12/sitecustomize.py', which is also in package libpython3.12-stdlib:amd64 3.12.11-1+jammy1
  InstallationDate: Installed on 2024-08-04 (401 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04.1
  PythonDetails: /usr/bin/python3.10, Python 3.10.12, python-is-python3, 3.11.4-1
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.3
   apt  2.4.14
  SourcePackage: python3.12
  Title: package libpython3.12-minimal (not installed) failed to install/upgrade: trying to overwrite '/etc/python3.12/sitecustomize.py', which is also in package libpython3.12-stdlib:amd64 3.12.11-1+jammy1
  UpgradeStatus: Upgraded to noble on 2025-09-09 (1 days ago)

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




More information about the foundations-bugs mailing list