On Thu, 2010-05-27 at 16:53 -0400, Matt McCutchen wrote:
Sure, though I would hope the user would stop a removal of 1500
packages
and complain on the list like Klaus did.
Another solution is to move away from incremental maintenance of the set
of installed packages and instead solve the dependencies from scratch on
each yum run, starting with a list of "wanted" packages maintained by
the sysadmin. This would take some discipline to get right, but it has
the major benefit that systems can no longer get stuck in an unusual or
"wrong" state. I believe aptitude remembers which of the installed
packages were "wanted" and then automatically removes unwanted leaves,
but the general approach is still incremental rather than from-scratch.
And yum is working in that direction - we're recording things people ask
for as opposed to things pulled in by dep so we can eventually take
action based on the difference.
take a look at the output from yumdb sometime.
-sv