0

I was having some issues with python on my kubuntu 21.10 (for so reason apt installed it to home rather than usr, which meant it wasn't on the path and I couldn't import any modules I pip installed.

To fix this, I tried to remove python using apt. This promptly broke the desktop and moved me to a terminal screen but with no input. Now if I try to boot into desktop my system just hangs on manufacture (Acer swift 3) logo.

Is there a workaround (could I try installing the kubuntu desktop from the recovery terminal) or should I just reinstall kubuntu? I'm on kubuntu 21.10.

Thanks.

1 Answers1

1

You cannot run Ubuntu without Python.


Open a virtual TTY console with Ctrl+Alt+F3, and login.

Connect to internet with USB tethering from your phone.

Install the Kubuntu desktop. It should install all the necessary components including python.

sudo apt install --reinstall kubuntu-desktop^

If it does not work, you will have to reinstall.

When you remove something in the terminal, you should always check which packages are being removed.

Lorenz Keel
  • 9,511