[Yum] Yet another "does the wrong thing on x86_64" problem
Bryan O'Sullivan
bos at serpentine.com
Wed Jan 5 05:59:38 UTC 2005
[Filed as Bugzilla bug 380.] This is a weird one.
I'm using yum 2.1.11 and 2.1.12 - both show the same behaviour.
Systems are running FC3.
I have python x86_64 installed, and when I ask yum to install mx (a
Python RPM), it insists on installing the i386 version.
~ $ rpm -q --queryformat '%{NAME} %{ARCH}\n' mx python
package mx is not installed
python x86_64
I have a set of repos defined in /etc/yum.repos.d. They are the usuals:
base FC3 x86_64
base-i386 FC3 i386
updates FC3 updates x86_64
updates-i386 FC3 updates i386
builds local nightly builds of local software, no
dups of stuff in other repos
bits local random RPMs, no dups of stuff in
other repos
I want to install mx, which is a Python RPM for handling dates. This
ships with FC3. Now things get funny.
~ $ sudo yum -y install mx
Setting up Install Process
Setting up Repo: updates-i386
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: builds
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: base
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: updates
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: base-i386
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: bits
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
updates-i3: ################################################## 407/407
builds : ################################################## 1760/1760
updates : ################################################## 438/438
base-i386 : ################################################## 2622/2622
bits : ################################################## 15/15
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package mx.i386 0:2.0.5-3 set to be installed
--> Running transaction check
Dependencies Resolved
Transaction Listing:
Install: mx.i386 0:2.0.5-3
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: mx 100 % done 1/1
Installed: mx.i386 0:2.0.5-3
Complete!
Two things worth noticing here. First is that the "base" repo doesn't
show up after the "Reading repository metadata in from local files"
line, even though it shows up in the prior section.
Next, yum has installed mx from the base-i386 repo.
I have exactarch=1 in /etc/yum.conf.
Any ideas?
<b
More information about the Yum
mailing list