The same error (bug?) appears again in Ubuntu 22.04:

# do-release-upgrade

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) ===                 
                                                                                
                               


I have:
                                                                                
                                                                                
                                                                                
                                                                                
                                                 root@obertux:/usr/bin# ll 
python*                                                                         
                                                                                
         lrwxrwxrwx root root         - 2021-10-11 14:34:54 python -> python3   
                                                                                
                                        lrwxrwxrwx root root         - 
2021-07-28 13:17:06 python2 -> python2.7                                        
                                                                                
-rwxr-xr-x root root 3,592,536 2024-12-09 19:47:23 python2.7                    
                                                                                
                               
lrwxrwxrwx root root         - 2026-01-20 14:06:18 python3 -> python3.10        
                                                                                
                               
-rwxr-xr-x root root       960 2023-01-25 09:29:04 python3-futurize             
                                                                                
                               
-rwxr-xr-x root root       964 2023-01-25 09:29:04 python3-pasteurize           
                                                                                
                               
-rwxr-xr-x root root 5,937,672 2026-01-08 07:52:19 python3.10                   
                                                                                
                               


I run "apt reinstall python3.10", but the error remains.

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

Title:
  do-release-upgrade fails with "Your python3 install is corrupted" if
  /usr/bin/python points to /etc/alternatives/python

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1825655/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to