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?

1 Answer 1


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

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.