Bug 137681 - yum considers x.i386 newer than x+1.noarch
yum considers x.i386 newer than x+1.noarch
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-30 11:51 EDT by Ralf Ertzinger
Modified: 2014-01-21 17:50 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-30 12:05:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ralf Ertzinger 2004-10-30 11:51:38 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020
Firefox/0.10.1

Description of problem:
Yum considers .noarch packages older that .i386 packages, even when
epoch, version and release show otherwise.
Example session:

[sun@nausicaa ~ :) 1]$ yum list switchdesk
Setting up Repo:  freshrpms
Setting up Repo:  os
Reading repository metadata in from local files
freshrpms : ################################################## 459/459
os        : ################################################## 3426/3426
Installed Packages
switchdesk.i386                          3.9.8-18               installed
Available Packages
switchdesk.noarch                        4.0.6-3                os
[sun@nausicaa ~ :( (1) 3]$ sudo yum upgrade switchdesk
Setting up Upgrade Process
Setting up Repo:  freshrpms
repomd.xml                100% |=========================|  843 B   
00:00     
Setting up Repo:  os
repomd.xml                100% |=========================| 1.1 kB   
00:00     
Reading repository metadata in from local files
freshrpms : ################################################## 459/459
os        : ################################################## 3426/3426
Could not find update match for switchdesk
No Packages marked for Update/Obsoletion


Version-Release number of selected component (if applicable):
yum-2.1.11-2

How reproducible:
Always

Steps to Reproduce:
1. Ask yum uo upgrade a .386 package to a .noarch one
2.
3.
    

Actual Results:  No upgrade happens

Expected Results:  Upgrade

Additional info:
Comment 1 Seth Vidal 2004-10-30 12:05:46 EDT
No, it doesn't have anything to do with the version number.

The arch of switchdesk you have installed is i386.

switchdesk has now become noarch.
yum has a setting (exactarch) which determines if packages are allowed
to change arch b/t updates. If exactarch is set to 1 then packages are
not allowed to change arch during an update. If it is set to 0 they
are allowed to change arch.

look in your /etc/yum.conf - look at exactarch.

you can do this:
1. exactarch=0 in /etc/yum.conf
2. yum update switchdesk
3. put exactarch=1 back

exactarch=1 is there so you don't accidentally 'upgrade' from an i686
pkg to an i386 pkg - especially with glibc and certain core packages.


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