Is yum groups broken in f20 ?

Adam Williamson awilliam at redhat.com
Sat Dec 14 22:26:10 UTC 2013


On Wed, 2013-12-11 at 22:35 -0600, Michael Cronenworth wrote:
> On 12/08/2013 08:37 AM, Mateusz Marzantowicz wrote:
> > Curious, why it blew up right now, just before F20 is released. It
> > should have happened in alpha and not now.
> >
> > Workaround is to yum group mark remove <group name here> for every group
> > on the list. What a waste of time.
> 
> Whatever you do - do not run "yum group mark convert". Now one of my systems 
> wants to install every Fedora package with "yum update".
> 
> This affects all Fedoras with yum -120. Here's the parent bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1014202

I've found some time to look into this today, and I do not believe those
two are the same bug. The error looks the same at a quick glance, but it
is not the same and it is not on the same codepath. (yum's code actually
contains about a dozen very similar warning messages produced by
different checks at different points).

I believe I've identified probably the most common case of this bug
quite precisely. I forgot Piruthiviraj had filed #1039348 , so I filed a
new bug about it, with the details I was able to figure out:

https://bugzilla.redhat.com/show_bug.cgi?id=1043202

I managed to identify the specific change to yum which made these
messages appear, and I think I know the attributes of the groups for
which it appears: non-environment groups that are listed as installed
in /var/lib/yum/groups/installed (also, possibly, through whatever other
mechanisms yum has for listing installed groups; like everyone else, I'm
having a lot of trouble grokking this yum-groups-as-objects thing), that
exist in comps, but have <uservisible> set to false.

It at least appears the check that was added is being run in
circumstances where it wasn't expected to run. I don't know how many (if
any) other bugs there are with the logic of the check itself and
the /var/lib/yum/groups/installed file and the groups-as-objects change
and whatever other goddamned changes are going on here.
-- 
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