I've had a problem with my python3 installation while trying to upgrade it from 3.6 to 3.8 in order to make streamdeck-ui work, and it seems that I broke Ubuntu on my desktop.
On boot, I briefly see the purple screen with loading dots, then it goes to tty and gets stuck there. Network is also unavailable, so I can't use apt in an attempt to clean things up. I don't even have ifconfig. When typing reboot, I also see the purple screen and loading dots, which makes me think something's wrong with X server, but I'm not sure and I don't know what to do.
Here is the config I have : AMD Ryzen 7 1700, 16GB RAM, Ubuntu 18.04.6 LTS. I only have wired network, which needs credentials to use (could it be the reason why it's unavailable in tty ?).
I tried what's described here : https://www.howtogeek.com/196740/how-to-fix-an-ubuntu-system-when-it-wont-boot/ The network option has no effect and I can't read the messages (when there are some, they disappear too quickly). The failsafeX is not provided in my case.
I tried this : https://unix.stackexchange.com/questions/462044/cant-run-startx-on-tty But commands like ubuntu-drivers are not available so I can't even follow the entire thread.
I also tried this : Repairing broken installation from Live USB without losing data Whatever partition I pick, I get stuck to the "No root file system is defined" popup. The live USB I use doesn't provide the simple "reinstall ubuntu" option that I've seen elsewhere.
I made a backup of most of my /home folder but there are still things I'd like not to lose (i.e. vscode, obsidian). I'm not sure how to make full backup of those, considering I don't have access to them anymore.
Please let me know if you have any idea or need more info.
Any help will be most welcome.