Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 239528 - yumdownloader do nothing when downloading SRPMS
yumdownloader do nothing when downloading SRPMS
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-05-09 02:56 EDT by Ken YANG
Modified: 2007-11-30 17:12 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-06-16 03:29:47 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ken YANG 2007-05-09 02:56:27 EDT
Description of problem:

yumdownloader do nothing when downloading SRPMS

Version-Release number of selected component (if applicable):

yum-utils-1.1.3-1.fc7  in fc7 rawhide

How reproducible:

yumdownloader --enablerepo development-source --source selinux-policy

Actual results:

Loading "installonlyn" plugin
Loading "skip-broken" plugin
development-source        100% |=========================|  951 B 00:00
primary.xml.gz            100% |=========================| 304 kB 00:03
developmen: ################################################## 1150/1150
Excluding Packages in global exclude list

Expected results:

down the SRPMS

Additional info:

there is nothing download, i also try:

yumdownloader --enablerepo development-source --source

but obviously, the argument is wrong.
Comment 1 Tim Lauridsen 2007-05-09 06:06:35 EDT
I have fixed it in upstream CVS, it will be available in yum-utils-1.1.4.

I have also made it a little smarter so it auto enables the source repos for all
enabled repos (if it exists)

so this will work:
yumdownloader --source selinux-policy
Comment 2 Will Woods 2007-05-09 10:40:14 EDT
Does yum-utils-1.1.4 contain just bugfixes? Do you plan to have it available for
F7 final?
Comment 3 Tim Lauridsen 2007-05-10 04:28:20 EDT
The following changes will be available in yum-utils-1.1.4.
* Changes to make the '--source' with yumdownloader (This bugzilla report)
* Some patches to the security plugin (James Antill & Luke Macken)
  These patches depends on unreleased changes in yum.
  I think there will be a yum 3.2 release before F7 final, there include these

I think i will wait to after the F7 release and push it as an update. 
Comment 4 Ken YANG 2007-05-10 04:49:13 EDT
thanks for your work.

i can not wait the fc7 release, so i download directly from cvs :-)
it's just python script. 
i have used and work well
Comment 5 Rahul Sundaram 2007-05-14 20:39:22 EDT
Tim Laurisden,

Having this feature broken in Fedora 7 is going to affect a lot of users. This
is a feature mentioned rather prominently in the release notes amoung other
places. Please update yum-utils and fix this issue.

Comment 6 Tim Lauridsen 2007-05-15 03:53:43 EDT
Look like it to late to get it in Fedora 7.
But i will push it as soon as possible to get it into updates.
Comment 7 Rahul Sundaram 2007-05-15 13:48:55 EDT
It's not too late. Deep freeze is only on Thursday. You still have time and even
after thursday you can always ask rel eng. Please fix. 
Comment 8 Tim Lauridsen 2007-05-16 04:25:22 EDT
Ok, i have made a upstream yum-utils-1.1.4 release and build it in koji and
mailed the release team and ask them to include it in Fedora 7 Final.
Comment 9 Axel 2007-06-15 20:20:07 EDT
About the new syntax :
yumdownloader --source mail-notification
It works well, but when adding --enablerepo=fedora-source parameter, it does
nothing :

[root@localhost ~]# yumdownloader --source mail-notification
Loading "installonlyn" plugin
Enabling fedora-source repository
Enabling updates-source repository
mail-notification-4.0-2.f 100% |=========================| 940 kB    00:01     
[root@localhost ~]# yumdownloader --source --enablerepo=fedora-source
Loading "installonlyn" plugin
Enabling fedora-source repository
Enabling updates-source repository
[root@localhost ~]# 
Comment 10 Tim Lauridsen 2007-06-16 03:29:47 EDT
This is because the file is already downloaded, but is not telling you so. this
is fixed in upstream CVS, know it tell you that the file already is downloaded.

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