[Bug 2138772] Re: do-release-upgrade fails with "Your python3 install is corrupted"

Chris Guiver 2138772 at bugs.launchpad.net
Wed Jan 21 04:22:14 UTC 2026


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

Please execute the following command only once, as it will automatically
gather debugging information, in a terminal:

  apport-collect 2138772

When reporting bugs in the future please use apport by using 'ubuntu-
bug' and the name of the package affected. You can learn more about this
functionality at https://help.ubuntu.com/community/ReportingBugs.


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

-- 
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:
  New

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