[Yum] Group 'remove'

seth vidal skvidal at phy.duke.edu
Wed Sep 1 20:01:28 UTC 2004


On Wed, 2004-09-01 at 15:27, Kevin Miller wrote:
> I'm wondering if there is any way through the groups mechanism to instruct 
> yum to remove a particular software package. The modes for packagereq's 
> "type" option appear to be mandatory, optional, and default. Having a type 
> such as 'disallowed' could instruct yum to remove the listed package, for 
> example.
> 
> My desire in using the groups interface for this is that it can be easily 
> customized per-machine on the server. With a 'disallowed' or 'remove' 
> construct I could ensure only the packages I want are installed.

Actually I implemented yum groupremove <groupname> in terms of figuring
out what groups could be removed.

My biggest question was recursivity. Should it recurse through the lists
of required sub-groups or not.

I think not is the best, let the user sort out the other parts.

And with regards to your particular request - that will probably be
better handled by the yum-queue concept that David Christian and myself
and others came up with on the yum-devel list.

Kevin, if you want to hear more about it conceptually - look at the
yum-devel archives or drop into physics at some point and I can tell you
about it.

-sv





More information about the Yum mailing list