Re: Install package with arch=amd64

Seth Vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>

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?

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

-sv

_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum
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.