Re: Install package with arch=amd64

Peter Östlin <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
On Mon, Nov 2, 2009 at 4:43 PM, Seth Vidal <[email protected]> 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@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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.