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.)
In aptitude you filter just the packages that are deinstalled but still have configuration files remaining (which are in state 'c').
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