Red Hat Bugzilla – Bug 973380
"yumdownloader --downloadonly" raises an error
Last modified: 2013-06-14 00:46:21 EDT
Created attachment 759791 [details]
yumdownloader downloadonly parameter
The are 2 problems:
Using this parameter will raise an error
I wouldlike to download ldc rpm for x86_64 arch so i tell it to yumdownloader as:
$ yumdownloader --archlist=x86_64 ldc
But yumdownloader download both x86_64 / i686 package ?!?
Please fix these bug
Thanks for the report, yumdownloader --downloadonly did not work also in rawhide. Just to make sure it wasn't some other bug, did the traceback in "yumdownloader --downloadonly" case include this?
File "/usr/share/yum-cli/yum/packages.py", line 970, in verifyLocalPkg
(csum_type, csum) = self.returnIdSum()
When --downloadonly, we have to prefetch pkg checksum before closing the database.. Yum does that already, but yumdownloader does not.
For the 2nd bug.. that's the way how --archlist foo is implemented.. yumdownloader downloads pkgs for all compatible architectures., eg:
./yumdownloader.py --archlist x86_64 ...
=> downloads ['x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch'] arches.
Ah, missed the already attached tb..
yum-3.4.3-94.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-3.4.3-94.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
yum-3.4.3-94.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.