James Antill (illiterat) wrote,

Understanding groups in yum

Every now and again someone will will ask a question about groups in yum that amounts to:

If I do "groupinstall xyz" and then I do "groupremove xyz" why do I not end up where I started.

Read more...Collapse )
Tags: faq, fedora, yum

illiterat

August 8 2008, 17:01:55 UTC 4 years ago

  • New comment

Re: More metadata could help

True, we are planning on exploring changing the model when we can store extra data in the rpmdb. I'm not 100% sure it will be a good idea, due to the corner cases (and what happens if/when group membership changes) ... but we'll certainly try it and see what it looks like.

We have also written code to store data directly in yum, but Fedora is against it as that would then force any other package managers to either repeat the data or talk to yum. The idea being if everyone could just talk to rpm that would be much better (and there would be only one real DB anyone needs to care about).

But if that change happens I still think it'll be better to present the user with "this group contains these pkgs, install some/all of them?" rather than just the "install group [X]" type option ... and also to remove core pkgs from weird groups.

The complete list of rpmdb pieces we want are roughly: 1) what repo. was X installed from 2) was it installed directly, via. a group or via. a dep. 3) what yum groups was it in. Other devel priorities are:

http://wiki.linux.duke.edu/YumDevPriorities

Error

default userpic

Your reply will be screened

Your IP address will be recorded