Re: why does yumdownloader grab i586 package on an x86_64 system?

James Antill <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
"Robert P. J. Day" <[email protected]> writes:

>   i wanted to download all binary rpms related to asterisk, so i ran:
>
> $ yumdownloader --resolve "asterisk*"
>
> and got a whack of x86_64 asterisk packages, plus a few dependencies
> (which is what i expected), but in the midst of all that, i also got:
>
> ...
> asterisk-devel-1.6.1-0.23.rc1.fc11.i586.rpm
> asterisk-devel-1.6.1-0.23.rc1.fc11.x86_64.rpm
> ...

 yumdownloader isn't the same as yum-plugin-downloadonly.

> why would i have picked up that i586 package, given that i already
> have the x86_64 package.  i deleted that package, and re-ran as:
>
> $ yumdownloader --resolve --archlist=x86_64 "asterisk*"

 --archlist doesn't do that. You could use "asterisk*.x86_64" as the
argument, or you can pass --exclude="asterisk*.i?86".

-- 
James Antill -- [email protected]
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.