Subscribe to Hacking Truths. Now, 14031 members!      RSS Feed Be Our Fan on Facebook Twitter SMS Alerts

Home » Hacking Tutorials, Linux Hacking, Tips n Tricks, Ubuntu Hacks

HowTo: Reinstall Ubuntu Automatically

11 January 2010 One Comment Posted By Ashik
StumbleUpon.com
Share

Sometimes after a partial upgrade of Ubuntu you suddenly find that it has broken down the System Dependency Tree and now you are unable to revert back the changes.

In such cases there is a very simple command that reinstalls all the distribution packages and reconfigures them automatically.

sudo dpkg-reconfigure -phigh -a

Since this command would take a lot of time to process (~1 hour) depending on your hardware in case you have a minor dependency problem you can fix it via

sudo apt-get install -f

Popularity: 1% [?]


Enjoyed this article? Subscribe to Hacking Truths and get daily updates about new cool websites and programs in your email for free.


One Comment »

  • Ashok said:

    The most weird thing about Ubuntu is that this operating system corrupts within a few days……………………………………Whats the matter dude.please tell meeeeeeeeeeeeeeeeeeeeeee

Note : If you have any Query related to the above Article please Post it to the Support Forum.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.