[Yum-devel] [PATCH] kill the "No Groups Available" check. BZ 983010

James Antill james at fedoraproject.org
Wed Jul 10 21:35:24 UTC 2013


On Wed, 2013-07-10 at 11:55 +0200, Zdenek Pavlas wrote:
> With group_command=objects we access yb.comps on every "yum update".
> If no repo with groups is enabled (perfectly legal IMO), this is fatal.

 This only happens if we have installed groups though, seems kind of
unlikely for a user to hit this. I'd thought about having a config.
option so people can turn off the 'Upgrade the installed groups' in
"yum upgrade". It might also be worth wrapping that in a block that
catches GroupsError, for those weird edge cases (should probably print
some message though) ... but just removing this raise off seems bad
(would need to put code everywhere so that "yum group install foo" still
prints a message like this, and not a misleading one).



More information about the Yum-devel mailing list