Subscribe to Hacking Truths. Now, 19968 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 4 Comments Posted By
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% [?]

You might be interested in the following Articles

  1. Recover Ubuntu Grub loader after installing Windows
  2. Reboot Linux using simple fork()
  3. How to Install any Linux on a USB
  4. Keyboard Shortcuts for Ubuntu
  5. How to safely uninstall Linux when Dual boot installed with Windows XP?
  6. 3 Amazing Firefox Hacks
  7. A simple TCP spoofing attack
  8. 10 ways to Tweak your Linux Boot Process


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


4 Comments »

  • 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

  • rodvek said:

    no dude, Ubuntu is the best operating system ever.

  • rodvek said:

    I use it for 2 years, no problems, no blue screen crash.. no winbugs

  • Florence said:

    Thanky Thanky for all this good inrfoatmion!

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.