Is yum groups broken in f20 ?

Adam Williamson awilliam at redhat.com
Mon Dec 16 06:40:43 UTC 2013


On Mon, 2013-12-16 at 00:37 -0500, James Antill wrote:

> > The most complex bug is #1043231. yum tries to keep track of what
> > package groups were installed as a result of the installation of what
> > environment groups, but this seems to be completely broken: it winds up
> > believing that no package group was ever installed due to the
> > installation of an environment group. (If anyone has
> > a /var/lib/yum/groups/environment with the word 'true' in it anywhere,
> > let me know; it means I might be wrong about this). This is bad in
> > itself, and it's also the ultimate reason why 'yum groupinstall
> > (installed_environment_group)' claims the group doesn't exist: through a
> > dull chain of events described in
> > https://bugzilla.redhat.com/show_bug.cgi?id=1014202#c22 , the fact that
> > no package group is considered to have been installed as a part of that
> > environment group causes a GroupError to be raised, and as we learned
> > earlier (if we were paying attention!), bug #1014202 means that when
> > this happens, yum claims the group doesn't exist.
> 
>  Interesting ... I do have one, but that's on a converted old system so
> it's possible I broke it after testing or something and it's never
> worked :(.

I guess I haven't done enough testing to declare that it absolutely
never works, but it seems at least clear that it's badly broken. I've
done multiple tests on both this dirty desktop and on clean VMs (both 19
and 20) with installing various environment groups and never caught it
writing anything but 'false'.

One possibility is that evaluating self.groups[grpname].environment the
way the conditional does did _used_ to work, but you changed something
somewhere else and that stopped it working. I didn't have time to
investigate that possibility yet.

>  Note that another thing that was added recently is that you can set:
> 
> upgrade_group_objects_upgrade=false
> 
> ...which will make it so that "yum upgrade" no longer does the automatic
> "yum groups upgrade" (that was added in 3.4.3-116, so should be in F19+
> now).

Thanks! If I'm thinking it through right, that would also happen to
address the issue with yum mark groups convert too.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net



More information about the test mailing list