0

I accidentally removed Python from Ubuntu 18.04, graphical interface gone, and now I can't even reinstall it.

I tried to re-install the graphical interface with sudo apt-get install --reinstall ubuntu-desktop, but I've obtained a list of dependencies which were not satisfied (the ones depending on Python I suppose). Using àpt --fix-broken install doesn't work as well, as I obtain errors concerning dpkg: E: sub-process /usr/bin/dpkg returned an error code(1).

Is there a way to fix this without reinstalling Ubuntu? Many thanks

EDIT: output of sudo apt-get install python3-all and the output of sudo apt-get --fix-broken install IMG-3402.jpg

7
0

I reinstalled Ubuntu. It is a faster option

1
  • 1
    He's right. OP did a very wrong, It's probably a better option to reinstall it.
    – Heisenberg
    Apr 2 '20 at 16:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.