Bug 502401 - yum picks older arch pkg instead of newer noarch one
Summary: yum picks older arch pkg instead of newer noarch one
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 11
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F12Target
TreeView+ depends on / blocked
Reported: 2009-05-24 20:49 UTC by Rex Dieter
Modified: 2014-01-21 23:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-06-17 22:20:14 UTC
Type: ---

Attachments (Terms of Use)

Description Rex Dieter 2009-05-24 20:49:15 UTC

we recently made the largish qt-doc pkg noarch (currently in updates-testing).

yum install qt-doc
chooses the older arch'd one.

Here's snippet from
yum -d10 install qt-doc
Setting up Install Process
Running compare_providers() for [<YumAvailablePackageSqlite : 1:qt-doc-4.5.0-14.fc11.x86_64 (0x2165290)>, <YumAvailablePackageSqlite : 1:qt-doc-4.5.1-11.fc11.noarch (0x2165350)>]
archdist compared 1:qt-doc-4.5.0-14.fc11.x86_64 to 1:qt-doc-4.5.1-11.fc11.noarch on ia32e
  Winner: 1:qt-doc-4.5.0-14.fc11.x86_64
better arch in po 1:qt-doc-4.5.0-14.fc11.x86_64
archdist compared 1:qt-doc-4.5.1-11.fc11.noarch to 1:qt-doc-4.5.0-14.fc11.x86_64 on ia32e
  Winner: 1:qt-doc-4.5.0-14.fc11.x86_64
Best Order: [(<YumAvailablePackageSqlite : 1:qt-doc-4.5.0-14.fc11.x86_64 (0x2165290)>, -1), (<YumAvailablePackageSqlite : 1:qt-doc-4.5.1-11.fc11.noarch (0x2165350)>, -6)]

Comment 1 seth vidal 2009-05-28 19:45:03 UTC
okay, the problem here is that yum is not comparing these two pkgs against each other b/c they are not the same arch but it really needs to be b/c for this situation these are arch-comparable.

Just to be sure - there isn't a qt-doc.i386 installed/existent, too is there?

Comment 2 Rex Dieter 2009-05-28 21:14:28 UTC
no qt-doc.i386 on x86_64 anyway (not multilib'd).

Comment 3 seth vidal 2009-05-30 03:28:27 UTC
an obvious work around for the moment - make the new noarch pkg obsolete the old version of the same.

Comment 4 Rex Dieter 2009-05-30 17:31:37 UTC
ok, I'll try that.

Comment 5 Bug Zapper 2009-06-09 16:29:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:

Comment 6 Kevin Kofler 2009-06-17 00:12:20 UTC
Let's take this off the Qt451 blocker as we worked around it in our Qt packaging (with the self-Obsoletes hack), but I'm adding it to F12Target as it's impacting the NoarchSubpackages feature.

Comment 8 Fedora Update System 2009-09-03 19:33:51 UTC
yum-3.2.24-1.fc11 has been submitted as an update for Fedora 11.

Comment 9 Fedora Update System 2009-09-30 01:37:38 UTC
yum-3.2.24-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2009-10-19 16:44:41 UTC
yum-3.2.24-2.fc10 has been submitted as an update for Fedora 10.

Comment 11 Fedora Update System 2009-11-04 12:04:56 UTC
yum-3.2.24-2.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.