On Feb 5, 2008 2:30 PM, Chaim Keren-Tzion <[EMAIL PROTECTED]> wrote:
>
> 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

I'm no expert but I found that commands like the above (i.e.
specifying the arch in the package name) worked for me, given the
right repos.

Also - I'm not sure that this is related, but yum picks up $releasever
from the info of the package specified in /etc/yum.conf variable
"distroverpkg" (usually package is "redhat-release" on CentOS). As far
as I remember, it could be that the default $basearch is also taken
from that package.

The last post on this thread:
https://lists.dulug.duke.edu/pipermail/yum/2007-June/009920.html
mentions /etc/rpm/platform, which I found to contain
ia32e-redhat-linux on an x86_64 CentOS 5, don't know what this means.

Another hint at what's going on might be found through the patch
posted at 
https://lists.dulug.duke.edu/pipermail/yum-devel/2006-August/002355.html
(not that I recommend installing it, but the comments there might
explain how Yum is designed to pick the arch).

Also the CentOS users mailing list contains a very helpful and
communicative bunch of people.

Hope this helps and PLEASE let us know if you find anything.

Cheers,

--Amos

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to