View Single Post
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#12
On the desktop there is 'deborphan' to remove orphaned packages. Digging through the forum I found this command: that deletes leftover config files:
Code:
dpkg --purge $(dpkg --list | grep ^rc | awk '{ print $2; }')
This constructs a list of packages which are removed but still have their configuration files installed (denoted by the ^rc pattern) and passes this list to the package management utility to purge all obsolete files. (source)
I haven't tried this myself so I have no idea if this works well. You can see what would be uninstalled with:
Code:
dpkg --list | grep ^rc | awk '{ print $2; }'
so you can delete them manually using dpkg --purge name-of-the-package

Last edited by iamthewalrus; 2008-09-13 at 19:45.
 

The Following 3 Users Say Thank You to iamthewalrus For This Useful Post: