Bug 169444 - yum updates i386 packages with x86_64 versions
yum updates i386 packages with x86_64 versions
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
4
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-28 09:20 EDT by Dawid Zamirski
Modified: 2014-01-21 17:52 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-28 13:07:52 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 Dawid Zamirski 2005-09-28 09:20:13 EDT
Description of problem:
I have installed i386 version of mplayer-1.0-0.16.pre7.2.fc4 package because I
need support for 32bit plugins. The pakage comes from i386 version of freshrpms
repo. When I do yum update, it shows mplayer-1.0-0.17.pre7.2.fc4 as an updatate,
however this new version is only avaialbe for x86_64 arch.

Version-Release number of selected component (if applicable):
All

How reproducible:
Always

Steps to Reproduce:
1. Install i386 version of any package
2. Do yum update
3. If x86_64 version is newer that i386 one it will mark it as update
  
Actual results:
yum updates 32bit package with 64bit version.

Expected results:
Yum should update 32bit packages with 32bit updates only, and 64bit packges with
64bit updates.

Additional info:
Comment 1 Seth Vidal 2005-09-28 09:25:41 EDT
run this command for me:
yum list installed mplayer


Comment 2 Dawid Zamirski 2005-09-28 09:31:22 EDT
[root@athlon64 maners]# yum list installed mplayer
Installed Packages
mplayer.i386                             1.0-0.16.pre7.2.fc4    installed
[root@athlon64 maners]#
Comment 3 Seth Vidal 2005-09-28 09:39:41 EDT
x86_64 is considered an 'upgrade' to the i386 package b/c mplayer is not a part
of the exactarchlist option in the config.

You can either:
1. add it to the exactarchlist in the config file
2. add mplayer.x86_64 to your exclude list

this is accepted behavior, though.
Comment 4 Dawid Zamirski 2005-09-28 10:08:22 EDT
I just went through man yum.conf and the only information I found on exactarch
is that it can be set either to 1 or 0. My yum.conf has this option enabled by
default:

[root@athlon64 etc]# cat yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[root@athlon64 etc]#

I googled for "yum exactarch list" but I didn't find any useful information on
how to add a package to exactarch list. Please let me know how to add packages
to exactarch list. 
Thank You
Comment 5 Dawid Zamirski 2005-09-28 13:01:41 EDT
Ok, I solved the problem. I red carefully your comment and set
exactarchlist=mplayer,mplayerplug-in,firefox and it works good now :-) BTW this
option should be mentioned in man page.
Comment 6 Seth Vidal 2005-09-28 13:07:52 EDT
you really really want your exactarchlist config option to read:
exactarchlist= kernel kernel-smp glibc firefox mplayer*

and yes - it should be in the man page. Thanks.

closing this bug though.

                                   

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