Log in

No account? Create an account

Understanding groups in yum - James Antill

Aug. 7th, 2008

11:40 pm - Understanding groups in yum

Previous Entry Share Next Entry


[User Picture]
Date:August 8th, 2008 05:01 pm (UTC)

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:

(Reply) (Parent) (Thread)
Date:August 8th, 2008 05:56 pm (UTC)

Re: More metadata could help

I agree, maybe groups should not have a installed state at all, they function only as a filter, this would naturally cut all the corner cases. If a user want he can install all the packages, but the operation of removing a group is, or at least should, not be well defined.
(Reply) (Parent) (Thread)