Bug 973380 - "yumdownloader --downloadonly" raises an error
Summary: "yumdownloader --downloadonly" raises an error
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-06-11 19:45 UTC by MERCIER Jonathan
Modified: 2013-06-14 04:46 UTC (History)
7 users (show)

Fixed In Version: yum-3.4.3-94.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-06-14 04:46:21 UTC
Type: Bug

Attachments (Terms of Use)
yumdownloader downloadonly parameter (2.03 KB, text/plain)
2013-06-11 19:45 UTC, MERCIER Jonathan
no flags Details

Description MERCIER Jonathan 2013-06-11 19:45:11 UTC
Created attachment 759791 [details]
yumdownloader downloadonly parameter

The are 2 problems:

*** downloadonly

Using this parameter will raise an error

*** archlist

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


Comment 1 Zdeněk Pavlas 2013-06-12 08:40:40 UTC
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.

Comment 2 Zdeněk Pavlas 2013-06-12 09:37:38 UTC
Ah, missed the already attached tb..

Comment 3 Fedora Update System 2013-06-12 09:40:15 UTC
yum-3.4.3-94.fc19 has been submitted as an update for Fedora 19.

Comment 4 Fedora Update System 2013-06-12 19:10:05 UTC
Package yum-3.4.3-94.fc19:
* 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).

Comment 5 Fedora Update System 2013-06-14 04:46:21 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.