parsed.org

Tips by tag: purge

Purge Uninstalled Packages by cygnus on Jan 12, 2005 11:04 AM

Use this command to purge old configs and files from your system that are in uninstalled packages:

$ dpkg --get-selections | awk '/deinstall/ {print $1}' | xargs dpkg --purge
awkcommandsconfigurationdebiandpkgpackagespurgexargs
RSS