Bug 169444 - yum updates i386 packages with x86_64 versions
Summary: yum updates i386 packages with x86_64 versions
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-28 13:20 UTC by Dawid Zamirski
Modified: 2014-01-21 22:52 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-09-28 17:07:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dawid Zamirski 2005-09-28 13:20:13 UTC
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 13:25:41 UTC
run this command for me:
yum list installed mplayer




Comment 2 Dawid Zamirski 2005-09-28 13:31:22 UTC
[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 13:39:41 UTC
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 14:08:22 UTC
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 17:01:41 UTC
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 17:07:52 UTC
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.