Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

up vote 10 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. –  run 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.