Description of problem: I wanted to download x86_64 packages on my i686 machine, therefore I used--archlist=x86_64 as an argument, but it only downloaded the i386 package. Version-Release number of selected component (if applicable): yum-utils-1.1.17-1.fc8 How reproducible: always Steps to Reproduce: 1. yumdownloader -v --noplugins --archlist=x86_64 aircrack-ng Actual results: downloads aircrack-ng-0.9.3-1.fc8.i386.rpm Expected results: Should download x86_64 rpm
This message is a reminder that Fedora 8 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 8. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '8'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 8's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 8 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
--archlist doesn't change the $basearch value in your yum.conf and .repo files. So yumdownloader is getting only the compatible pkgs to the x86_64 architecture. use setarch and it should set $basearch properly Otherwise this will have to wait until it is possible to set the specific arch from yum itself.
I do not understand what --archlist is supposed to, do or why downloading the i386 rpms is the right beheaviour. yumdownloader --help says: | --archlist=ARCHLIST only download packages of certain architecture(s) Maybe if it is not possible to download the packages for the specified arch, then it should not download anything at all. Or can you maybe explain for which use cases this options exists? Since it is possible to use setarch externally, couldn't yumdownloader call itself with the approprate setarch commandline, e.g.: if sys.argv[1] == "--setarch": import os sys.argv.insert(0, sys.argv[2]) sys.argv.pop(2) sys.argv.pop(2) os.execv("/usr/bin/setarch", sys.argv.pop(1)) This works at least nicely on x86_64 with --setarch i386, but it seems that setarch x86_64 does not work on i686. Is it planned to be able to set a specific arch from yum itself?
Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.