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

NOTE: It is a UEFI dual boot with Windows 8 AND Ubuntu GRUB is set as default bootman.

I am looking to do a reinstall of Ubuntu since I accidentally apt-get removed system packages. I cannot drop to Root shell and do sudo apt-get install --reinstall Ubuntu-desktop because it gives me a few errors saying that critical dpkg config files are missing or something like that. If possible, I would just like to reinstall rather than remove and install, as this would save my files (the files have been backed up on a Windows 8 partition.) And if I would need to reinstall, can I just remove the partition and then reinstall via DVD and Ubuntu GRUB would work, or would I have to set Windows 8 as my default UEFI boot manager?



share|improve this question
I hope someone will correct me if i am wrong, but i thought that with the ubuntu install disc you can also repair a installation of Ubuntu. In that case your files would remain and your installation repaired so it is bootable again. For reinstallation you could remove the partition and reinstall, but you can also simply choose to reinstall from the Ubuntu install disc. You can choose a new installation overwriting your old one. But i would try the repair option first. – Erik Mar 9 '14 at 0:40
up vote 0 down vote accepted

First backup your documents onto an external disk (USB or DVDs), then boot on your Ubuntu disk and follow this procedure from the Community Documentation.

share|improve this answer

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.