Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just typed

sudo apt-get remove python2.6

I didn't realized that this command will uninstall the whole packages from my computer. Is it possible to uninstall the ubuntu without CD. Or how can I fix this big mistake?

share|improve this question
up vote 12 down vote accepted

I am not 100% sure if I understood you correctly.

I'm guessing your Ubuntu-Installation is broken because the uninstalling of the python package also removed a lot else.

I would try to (re)install the ubuntu-desktop¹ meta package.

sudo apt-get install --reinstall ubuntu-desktop
share|improve this answer
You saved my life:). Thanks. – OHLÁLÁ Aug 2 '11 at 10:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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