Hi Tom, I had a similar problem when running Centos4, x86_64 architecture, inside of a vserver where the host is debian amd64. It wouldn't choose x86_64 automatically even after changing the yum repository config file.
I found that the following command worked: yum install --enablerepo=centosplus php-mysql.x86_64 So you could try: yum install --enablerepo=<WhateverRepo> php-mysql.i386 As I mentioned, I also edited the CentOS-Base.repo file entries to look like this but it didn't seem to override whatever auto-detection yum uses: [base] name=CentOS-$releasever - Base #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=x86_64&repo=os baseurl=http://mirror.isoc.org.il/pub/centos/4.5/os/x86_64/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 priority=1 protect=1 Chaim On Feb 5, 2008 3:01 PM, Tom Rosenfeld <[EMAIL PROTECTED]> wrote: > > > On Jan 29, 2008 5:36 PM, Oded Arbel <[EMAIL PROTECTED]> wrote: > > > .. > > > > For other 32 bit software, CentOS does not package all 32 bit packages > > for x86_64 - only the really important stuff (do they offer > > mplayerplug-in in their 32bit repositories ? I'm not sure), but you can > > always add another repository that points directly to the 32 bit > > release: > > > > Go to /etc/yum.repos.d > > locate the CentOS repository file (probably called centos.repo or > > something) > > copy it to another file, let's call it centos-i386.repo > > open the new file for editing and replace every instance of $arch with > > i386. > > save and enjoy. > > > > Hi Oded, > I can manually add another repo, but then how can I easily manage my > searches? > if I currently have several repos I will have to add a 2nd i386 repo for > each one. > In most cases I will want only the 64 bit versions, but sometimes the 32 > bit versions. > Is there then a simply way in Yum to manage this on the command line? > > Thanks, > -tom > >