I changed my default python version from 3.7 to 3.10 with update-alternatives now my Ubuntu 22.04 don't run :). I tried with boot-repair from live cd with no success. Is it possible to fix this without reinstalling ubuntu? Thank you.
Here is the report of boot repair, I don't know if it will be useful: https://paste.ubuntu.com/p/k9ZC87Z3MN/
3.10.4-0ubuntu2
is the initial version found on original 22.04 media; being later for 22.04.1 etc). You didn't state if you're using Ubuntu Desktop (or Ubuntu Server) but the Desktop systems are very reliant onpython3
being default. Text terminal features should still work though to revert your changes, but you can re-install Ubuntu Desktop without loss of files/data if you don't format (ensure you have good backups anyway). – guiverc Jan 02 '23 at 01:00sudo apt-get install ubuntu-desktop
– Dimitar Terzov Jan 02 '23 at 09:29