[Yum] why does yumdownloader grab i586 package on an x86_64 system?

James Antill james-yum at and.org
Wed May 13 18:59:15 UTC 2009


"Robert P. J. Day" <rpjday at crashcourse.ca> 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 -- james at and.org


More information about the Yum mailing list