[Bug 2138772] Re: do-release-upgrade fails with "Your python3 install is corrupted"
Julian Andres Klode
2138772 at bugs.launchpad.net
Wed Jan 21 08:17:55 UTC 2026
The reason for the check failing, in particular, is logged to
/var/log/dist-upgrade/main.log
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2138772
Title:
do-release-upgrade fails with "Your python3 install is corrupted"
Status in ubuntu-release-upgrader package in Ubuntu:
Invalid
Bug description:
I tried to upgrade from Ubuntu 22.04.5 to 24.04 with do-release-upgrade but it fails with:
Can not upgrade
Your python3 install is corrupted. Please fix the '/usr/bin/python3'
symlink.
=== Command detached from window (Tue Jan 20 14:06:37 2026) ===
My python3 seems to be ok:
root at obertux:~# ls -l /usr/bin/python3
lrwxrwxrwx 1 root root 25 Jan 20 14:43 /usr/bin/python3 -> /etc/alternatives/python3
root at obertux:~# ls -l /etc/alternatives/python3
lrwxrwxrwx 1 root root 19 Jan 20 14:43 /etc/alternatives/python3 -> /usr/bin/python3.10
root at obertux:~# ls -l /usr/bin/python3.10
-rwxr-xr-x 1 root root 5937672 Jan 8 07:52 /usr/bin/python3.10
root at obertux:~# /usr/bin/python3 --version
Python 3.10.12
I run "apt reinstall python3.10" but do-release-upgrade still fails.
I have reported it also at
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-
upgrader/+bug/1825655 but this ticket is 7 years old and belongs to
Ubuntu 18
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2138772/+subscriptions
More information about the foundations-bugs
mailing list