do-release-upgrade de 18.04 a 20.04 falha porque python3 está corrompido

do-release-upgrade de 18.04 a 20.04 falha porque python3 está corrompido

Tentei atualizar de 18.04 para 20.04.1 em meu laptop, mas recebo o Can not upgrade - Your python3 install is corrupted. Please fix the '/usr/bin/python3' symlink."erro. Eu tentei a solução alternativa descrita em https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1825655para nenhum proveito. A saída de ls -l /usr/bin/python*é:

$ ls -l /usr/bin/python*
lrwxrwxrwx 1 root root      18 ago  9 11:57 /usr/bin/python -> /usr/bin/python2.7
lrwxrwxrwx 1 root root       9 apr 16  2018 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 3665768 lug 20 17:37 /usr/bin/python2.7
lrwxrwxrwx 1 root root      33 lug 20 17:37 /usr/bin/python2.7-config -> x86_64-linux-gnu-python2.7-config
lrwxrwxrwx 1 root root      16 apr 16  2018 /usr/bin/python2-config -> python2.7-config
lrwxrwxrwx 1 root root      25 ago  3 16:03 /usr/bin/python3 -> /etc/alternatives/python3
-rwxr-xr-x 2 root root 4526456 lug 17 14:50 /usr/bin/python3.6
-rwxr-xr-x 2 root root 4526456 lug 17 14:50 /usr/bin/python3.6m
-rwxr-xr-x 2 root root 5308240 giu 29 07:44 /usr/bin/python3.7
lrwxrwxrwx 1 root root      33 giu 29 07:44 /usr/bin/python3.7-config -> x86_64-linux-gnu-python3.7-config
-rwxr-xr-x 2 root root 5308240 giu 29 07:44 /usr/bin/python3.7m
lrwxrwxrwx 1 root root      34 giu 29 07:44 /usr/bin/python3.7m-config -> x86_64-linux-gnu-python3.7m-config
-rwxr-xr-x 1 root root     398 nov 15  2017 /usr/bin/python3-jsonschema
lrwxrwxrwx 1 root root      10 ott 25  2018 /usr/bin/python3m -> python3.6m
lrwxrwxrwx 1 root root      16 apr 16  2018 /usr/bin/python-config -> python2.7-config

Talvez seja melhor reinstalar o Ubuntu completamente com as consequências óbvias em termos de tempo perdido para voltar a funcionar?

informação relacionada