[Yum-devel] multilib preference patch

Florian Festi ffesti at redhat.com
Wed Jan 30 10:32:11 UTC 2008


Terje Røsten wrote:
>> With the help of Tim and James A. I have a patch which lets the user
>> select what will happen when they are on a multilib arch and they do an:
>> install foo or install foo* as to which archs it will install by
>> default.
>>
>> the config parameter is multilib_policy and it's options are best and
>> all.
> 
> I want some more options :-)
> 
> Consider this:
> 
> foo-1.0-1.x86_64 installed, a update is coming in: foo-2.0-1. 
> However it's _only_ available as foo.i386.
> 
> What should yum do?
> 
> Keep foo.x86_64 or upgrade to the foo.i386 package (and add lots of i386
> packages)?

See yum/test/simpleupdatetests.py for what yum currently does. Although I 
think the current behavior is quite sane feel free to point out what 
situations should be handled differently.

Florian



More information about the Yum-devel mailing list