OS = Linux Ubuntu 22.04 LTS, running on AMD Ryzen CPU with 24GB of RAM, nVidia GE 1060 GPU Card.
I was trying to upgrade python3 from 3.10 to 3.11.5. I followed the instructions from the python site, which instructed me to issue a cmd like "pip3 install python 3.11".
After that I tried to open the gNome terminal, which failed because there is a script at /usr/bin/gnome-terminal which in its first line has a cmd "!/usr/bin/python" that I changed to "!/usr/bin/python3.11"
After that gnome-terminal still could not open, because there was a circular import /usr/lib/python3/dist-packages/gi..." so I tried to remove python3, and that crashed ubuntu.
After trying several times to reboot, issue apt-update, upgrade, etc, I still get an icon in the top left part of the screen, that looks like a stop sign, and that has the message "A problem occurred when checking for the updates".
It appears that the OS is not able to continue with the booting process (only one of the three monitors is active) and I am lost on how to move forward.
I would be grateful for any the help I could get to solve this issue.
Thank you