Monthly Archives: August 2013

You are browsing the site archives by month.

Purge All dpkg Packages Marked As rc

Title says it all. Purges the packages and their configuration files. Watch out for “directory not empty” messages and manually delete those.

dpkg --list | grep "^rc" | cut -d " " -f 3 | xargs apt-get autoremove --purge -y

Original: http://linuxprograms.wordpress.com/2010/05/12/remove-packages-marked-rc/