Cleaning Up Old Configs On Ubuntu / Debian

Bookmark and Share
| No Comments | No TrackBacks
Debian OpenLogo

Image via Wikipedia

This is more for my own use than anyone else...

If you remove a package in Debian / Ubuntu you often end up with legacy configuration files lying around.

Running the following command removes all the crud left lying around your system and may fix silly issues that you run into. As it's Linux, there's probably about 10 other ways to do this!

Here's the command:

sudo aptitude purge `dpkg --get-selections | grep deinstall | awk '{print $1}'`

Enjoy!
  • Currently 4/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 4 /5( 1 votes cast)

latest funny tshirts

No TrackBacks

TrackBack URL: http://www.mneylon.me/cgi-bin/mt/mt-tb.cgi/3965

Leave a comment

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.34-en
Get a personal domain - get a .me!
TwitterCounter for @mneylon

About this Entry

This page contains a single entry by Michele Neylon published on March 1, 2010 9:08 PM.

Microsoft To Offer Users Choice Of Browser was the previous entry in this blog.

Vodafone Announce iPhone For March 25th is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Activity

Today