Description of problem:
If package X is removed, the dependencies installed for X is not always removed.
Apt-get has --purge and Synpatic apparently now exposes this better. We should
look at implementing something similar in Pirut. I know this was discused in
yum-devel lists before and was rejected as a core feature but this seems quite
The problem is there's no way to know if a package was explicitly selected for
installation or if it was just pulled in by deps.
So doing something like this in an automated fashion is an _extremely_ bad idea.
For people that want to micromanage things like this, there's the --leaves
option to package-cleanup in yum-utils