Purge old configuration files for removed packages in Debian

I saw a good tip today at Debian Administration. Sometimes when upgrading, a dependent package will be removed, but its config files will stay around. One way to list and purge those packages is with:

aptitude search ~c
aptitude purge ~c
posted: Sep 23 2010
tags: debian