Single Command to Reinstall Ubuntu

Did you screw up your Ubuntu install? No need to download all the packages or get our your Ubuntu CD for a new installation. A single command can help you reinstall Ubuntu and reinstall all the packages from core and reconfigure them.

To reinstall or restore Ubuntu to a factory install from the command line, run the following command:

   1: sudo dpkg-reconfigure -phigh -a

To run minor restores and dependency issues, you can run the command:

   1: sudo apt-get install -f

Don’t forget to your data before you run any of the commands.

Reinstall Ubuntu automatically [via Kabatology]

Published by

Keith Dsouza

I am the editor-in-chief and owner of Techie Buzz. I love coding and have contributed to several open source projects in the past. You can know more about me and my projects by visiting my Personal Website.I am also a social networking enthusiast and can be found active on twitter, you can follow Keith on twitter @keithdsouza. You can click on my name to visit my Google+ profile.

  • ironwolfmuzik

    Quick question, does this simply remove all settings or actually remove all packages and software installed as well as delete all user accounts etc, exactly as if a clean reinstall?