Bug 376561 - Yum does not see packages of other architectures
Summary: Yum does not see packages of other architectures
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 8
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-11 21:29 UTC by Lubomir Kundrak
Modified: 2014-01-21 23:00 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-11-12 00:09:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lubomir Kundrak 2007-11-11 21:29:40 UTC
Description of problem:

On my system with i686 installation of Fedora 8 I can't force yum to see x86_64
packages no matter how hard I try.

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

yum-3.2.7-1.fc8

How reproducible:

Always

Steps to Reproduce:

(In i686 installation)

0. # yum clean all
1. # mv /etc/yum.repos.d{,.away}
2. # mv /etc/yum.conf{,.away}
3. # cat >/etc/yum.conf <<EOF
> [main]
> exactarch=0
> plugins=0
> 
> [fedora]
> name=fedora
>
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Everything/x86_64/os/
> enabled=1
> EOF
# yum clean all
  
Actual results:

# yum list |grep x86_64
# yum install glibc.x86_64
Setting up Install Process
Parsing package install arguments
No package glibc.x86_64 available.
Nothing to do
#

Expected results:

Being able to list/install the x86_64 packages

Additional info:

Pardon me if this is not a bug, but my misunderstanding of how yum should work.
Please suggest an alternative way to force a package of a different architecture
with its dependencies into my system. Thanks!

Comment 1 James Antill 2007-11-12 00:09:20 UTC
 It doesn't work that way around, x86_64 can install i686 but not the other way
around (that way around it just thinks it's an i686 machine).


Comment 2 Lubomir Kundrak 2007-11-12 08:44:20 UTC
Thanks for the clarification, James! In that case I am wordering whether I can
reopen this bug as a enhancement request?

It still makes sense to be able to work with packages of other architectures.
Probably just list them, or inspect the metadata if not install. And it might be
argued, that yum can not know binaries of which architectures are actually
executable on the machine (apart from different kernels it might be due to
qemu-arm, or whichever qemu hooked on binfmt_misc, etc).

Comment 3 Seth Vidal 2007-11-12 15:02:11 UTC
If you want to do special-case work like that then you need to use the yum api
in a program to tell it to do so.

It's not a bug in yum that the capability is not exposed on the cli.


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