[Yum] multilib fun/bug/
Trond Eivind Glomsrod
teg at pvv.org
Thu Apr 14 23:25:43 UTC 2005
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...
More information about the Yum
mailing list