Can you log in on a different TTY (e.g. TTY3 by pressing CTRL+ALT+F3
)?
python3
is a hugely important package. Surely it must've shown you a big list of things it'll remove on uninstall?
If you can log in on a TTY (text/terminal mode only) first thing to try would probably be running eopkg hs
, noting the operation number of the operation BEFORE the python3
removal, and then running sudo eopkg hs -t XX
, where XX
is the operation number. This will restore the (package) system to the point before the removal. After that you might still have to restart before being able to log in.
(some more info here: https://getsol.us/articles/package-management/history-and-rollback/en/)
(hs
is just the short-hand for history
btw)
In this example, if I wanted to go back to the state of the system before I installed the new nvidia-glx-driver packages, I'd run sudo eopkg hs -t 8251