[Yum] multilib fun/bug/
Trond Eivind Glomsrød
teg at pvv.org
Mon Apr 18 07:47:18 UTC 2005
seth vidal wrote:
>On Fri, 2005-04-15 at 01:25 +0200, Trond Eivind Glomsrod wrote:
>
>
>>Scenario (rhel3, IA64):
>>
>>package A is installed. It is arch ia64, and version 1.1.0.
>>
>>In a earlier version, package A was noach. That stopped at version 1.0.7.
>>
>>Now, when trying to install package A (already installed), it tries to
>>install the noarch version - why? Noarch isn't a parallell installable
>>multiarch?
>>
>>The install then fails with a
>>Transaction Check Error: package A-1.1.0-1.rhel4 (which is newer than
>>A-1.0.7-1.generic) is already installed.
>>
>>Now, when looking into the code in cli.py, the following looks strange:
>>
>> if rpmUtils.arch.isMultiLibArch(a2) ==
>>rpmUtils.arch.isMultiLibArch(pkg.arch):
>> comparable.append(instTup)
>>
>>What's this trying to achieve? Making it possible to update across
>>multiple arches? The result here, is that since this test fails (ia64
>>being multiarch, noarch not), nothing ends up being compared to the
>>noarch package at all. Which doesn't seem quite right...
>>
>>
>
>ah ha
>so yum is saying 'noarch is in the line of the 32bit arch for this
>multilib platform - we should try to install it, too'. You're right,
>though. noarch packages should not be considered when this is going on.
>
>What ver of yum is this?
>
>
2.2.1. Same code in 2.3, though.
More information about the Yum
mailing list