[Yum] Install package with arch=amd64

Peter Östlin peter.ostlin at op5.com
Mon Nov 2 15:59:32 UTC 2009


On Mon, Nov 2, 2009 at 4:43 PM, Seth Vidal <skvidal at fedoraproject.org> wrote:
>
>
> On Mon, 2 Nov 2009, Peter Östlin wrote:
>
>> Hi list
>>
>> On a x86_64 system (CentOS 5) I'm trying to use yum to find/install a
>> package that (for unknown reasons) has arch set to amd64. The package
>> in question is meant for CentOS/Redhat x86_64. Using localinstall I
>> get the following:
>>
>> root at t64-mon-app:~# yum localinstall <package>.amd64.rpm
>> Cannot add package <package>.amd64.rpm to transaction. Not a
>> compatible architecture: amd64
>> Nothing to do
>>
>> Is there a way around this problem? Letting yum know that amd64 is ok
>> as arch. Installing using rpm works fine but I want it in a yum repo
>> to enable remote installs.
>>
>
> Is your system x86_64 or is it amd64?

My system is x86_64 and the package is supposed to be too but it is
obviously a strange build.


> amd64 is above x86_64 in the arch listing and therefore if your processor is
> only x86_64 it won't be able to access/handle amd64 binaries.
>
> If you want to force it you can set an arch value in  /etc/rpm/platform

Thanks, I'll try that.


More information about the Yum mailing list