I have found misconfiguration on my system obertux:

root@obertux:~# ls -ld /bin /usr/bin
drwxr-xr-x 1 root root 23024 Jan 21 15:51 /bin
lrwxrwxrwx 1 root root     4 May 20  2023 /usr/bin -> /bin

root@jellyfish:~# ls -ld /bin /usr/bin
lrwxrwxrwx 1 root root     7 Nov 23  2022 /bin -> usr/bin
drwxr-xr-x 1 root root 26118 Jan 16 06:28 /usr/bin

Host jellyfish is another Ubunt 22.04 system
I then run:

root@obertux:~# rm /usr/bin
root@obertux:~# apt install usrmerge
root@obertux:~# ls -ld /*bin /usr/*bin /lib /usr/lib
lrwxrwxrwx 1 root root     8 Jan 21 18:22 /bin -> /usr/bin
lrwxrwxrwx 1 root root     7 Jan 22 12:35 /lib -> usr/lib
lrwxrwxrwx 1 root root     8 Jan 22 12:35 /sbin -> usr/sbin
drwxr-xr-x 1 root root 23024 Jan 21 15:51 /usr/bin
drwxr-xr-x 1 root root  2864 Jan 22 12:35 /usr/lib
drwxr-xr-x 1 root root  7844 Jan 22 12:35 /usr/sbin

looks better!

But then:

root@obertux:~# do-release-upgrade
(...)
Cannot upgrade system with unmerged /usr

Please install the usrmerge package to fix this, and then try the
upgrade again.


root@obertux:~# dpkg -l | grep usrmerge
ii  usrmerge    25ubuntu2   all       Convert the system to the merged /usr 
directories scheme


Any hints for handling this .. besides new installation?

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

Title:
  do-release-upgrade fails with "Your python3 install is corrupted"

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


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

Reply via email to