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.)
I found this answer the simplest.
The following should do what you want:
This purges all packages with the
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