Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: bakedjake
So, I did some digging at freshmeat and found deborphan [tribe.eu.org]. It is a small utility and really quite self explanatory once started. Basically it combs your lib files and gets rid of all the ones that no longer have any dependences.
There are two front ends for the app, orphaner and editkeep. Orphaner hacks out the dead weight, and editkeep will let you flag libraries as 'off limits'.
It worked great on my system, trimmed out a good amount of abandon libraries.
One of the many wonderful things that make Debian the easiest distro to *maintain* that I've ever used.