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

Bug #2122464 reported by Cloto Atropos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.12 (Ubuntu)
New
Undecided
Unassigned

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)

Revision history for this message
Cloto Atropos (laquesis) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Bug reporting is about finding & fixing problems thus preventing future users from hitting the same bug.

I suspect a Support site would be more appropriate, eg. https://answers.launchpad.net/ubuntu. You can also find help with your problem in the support forum of your local Ubuntu community http://loco.ubuntu.com/ or asking at https://askubuntu.com or https://discourse.ubuntu.com/t/welcome-to-support-and-help/49951, or for more support options please look at https://discourse.ubuntu.com/t/community-support/709

Your package conflict appears to be a result of 3rd party packages added to your system.

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.