I uninstalled python using following command:

sudo apt-get remove python2.7

It ended up removing lot of related system files as well. Now when ubuntu boots up it prompts me login, but after that it fails. How can I fix this?

  • 2
    That was a terrible, terrible, idea. Ubuntu replies on Python for quite a few things. – Seth Apr 3 '14 at 22:55

Open a tty (Ctrl+ALt+F1) and login. Then run:

sudo apt-get install ubuntu-desktop.
| improve this answer | |

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.