One word: deborphan
One action: apt-get install deborphan
One solution: dpkg --purge `deborphan`
One distro: debian
Just trying to be a bit funny
PD: Read the man to tel it to ignore packages, for example, libc6-i686. (don't you know libc6-i686? too bad)