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
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python3.12 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
Running sudo apt reinstall nautilus libnautilus-
the following error occured:
dpkg: error processing archive /var/cache/
l_3.12.
trying to overwrite '/usr/bin/
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/
eb
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: libpython3.
ProcVersionSign
Uname: Linux 6.8.0-79-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckR
Date: Tue Sep 9 21:07:05 2025
ErrorMessage: trying to overwrite '/etc/python3.
InstallationDate: Installed on 2024-08-04 (401 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Python3Details: /usr/bin/
PythonDetails: /usr/bin/
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.21.1ubuntu2.3
apt 2.4.14
SourcePackage: python3.12
Title: package libpython3.
UpgradeStatus: Upgraded to noble on 2025-09-09 (1 days ago)

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.