[NEW IDEA] Automatic removal of dependencies

Benny Amorsen benny+usenet at amorsen.dk
Thu Apr 27 20:16:59 UTC 2006


>>>>> "LRP" == Lamont R Peterson <lamont at gurulabs.com> writes:

LRP> All, Here are a couple of suggestions of how add
LRP> auto-no-longer-used-dependency removal to yum.

LRP> 1. Enhance RPM to track a new flag from each package to indicate
LRP> whether or not it was installed auto-selected-for-dependency.
LRP> Then, "yum remove foo" could automatically select to remove all
LRP> packages that "foo" depends on that are no longer depended on by
LRP> any other installed packages.

How about simply adding a flag to rpm packages, saying that they are
useless for anything except as dependencies? Most libraries would fit
that.

It would be yet another thing for package maintainers to get right, of
course.


/Benny





More information about the fedora-devel-list mailing list