[Yum-devel] yum complex update problem

John Haxby jch at thehaxbys.co.uk
Mon Apr 22 12:02:26 UTC 2013

Hello All,

I sent a message about this last week and I know it hit the archives (I can
see it) but I never saw the actual message.   Is there a problem with
attachments or possibly some other problem?

The subject of that message was the same as this: a complex update under
some circumstances will fail.   With an update the rpmUtils updates-test.py
script you can see a failure to update a kernel if more than one kernel is
already installed.  To see what should happen, run this:

    python ./updates-test.py rpmUtils.arch.canonArch=x86_64 \
           sparc64=x86_64 | grep kernel

And you should see

    kernel.x86_64 0:1-2 updated by kernel.x86_64 0:1-3


    python ./updates-test.py rpmUtils.arch.canonArch=\'sparc64v\'

doesn't work even though sparc64 is supposed to be compatible with sparc64v.
(There is a comment to that effect labelled "hack hack hack" in arch.py.)

I have what seems like a reasonable fix for that which I am happy to repost.


More information about the Yum-devel mailing list