I'm basically looking for an
apt-get purge for programs that are already uninstalled.
(I'm running Debian squeeze and using
aptitude for package management.)
The following sequence will list your deinstalled packages,
You can switch that to
You can run that
Or, something like,
will list the files hanging around from these
In aptitude you filter just the packages that are deinstalled but still have configuration files remaining (which are in state 'c').
I found this answer the simplest.
The following should do what you want:
This purges all packages with the