+++ This bug was initially created as a clone of Bug #470938 +++ Description of problem: When trying to download x86_64 packages and explicitly using --archlist=x86_64 it also downloads i686 packages. Version-Release number of selected component (if applicable): yum-3.4.3-122.fc20.noarch How reproducible: always Steps to Reproduce: (happens with any package except for noarch) $ yumdownloader --archlist=x86_64 qt5-qttools [snip] (1/2): qt5-qttools-5.2.0-0.10.rc1.fc20.i686.rpm | 3.8 MB 00:00:01 (2/2): qt5-qttools-5.2.0-0.10.rc1.fc20.x86_64.rpm | 3.8 MB 00:00:03 Actual results: It downloads the package for all architectures available from repos. Expected results: It should only download the x86_64 package, as per the documentation: $ yumdownloader | grep -A1 archlist --archlist=ARCHLIST only download packages of certain architecture(s)
FWIW, using yum reinstall qt5-qttools --downloadonly --downloaddir=. it works as expected, but probably just because only the x86_64 package is installed. Also tried to explicitly set the basearch as proposed the original bug seems to suggest via: yum-config-manager --save --setopt=basearch=x86_64 But that has no effect, also manpage of yum.conf doesn't mention either setarch or basearch, only $basearch as variable for repo configuration, so this is probably no valid setting at all.
Hello Florian, the documentation is actually inaccurate here, --archlist limits architectures to the given and all compatible with the given. I have fixed the documentation upstream. For your use case please use the following command: yumdownloader -x \*i686 --archlist=x86_64 qt5-qttools
Hi Valentina, thanks for the hint, will certainly try that :) Would my assumption be correct, that on x86_64 it would be enough to simply exclude i686, without using --archlist at all?
You might also want to exclude these arches: athlon, i586, i486, i386, noarch, because they all are compatible with x86_64.
yum-utils-1.1.31-22.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/yum-utils-1.1.31-22.fc20
Package yum-utils-1.1.31-23.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-utils-1.1.31-23.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-6637/yum-utils-1.1.31-23.fc20 then log in and leave karma (feedback).
yum-utils-1.1.31-23.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.