Bug 173322 - yumdownloader doesent work properly with extras src rpms by default
yumdownloader doesent work properly with extras src rpms by default
Product: Fedora
Classification: Fedora
Component: fedora-release (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Cantrell
Depends On: 163149
  Show dependency treegraph
Reported: 2005-11-16 05:16 EST by Rudolf Kastl
Modified: 2013-01-09 20:20 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-22 18:29:34 EST
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 Rudolf Kastl 2005-11-16 05:16:58 EST
Description of problem:
with default configuration its not possible to yumdownloader --source dosbox.
should work in my eyes since extras is enabled by default.

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

How reproducible:

Steps to Reproduce:
1. install fedora core 4
2. yumdownloader --source dosbox (for example)
Actual results:
yumdownloader --source dosbox
Cannot find a valid baseurl for repo: updates-released
Traceback (most recent call last):
  File "/usr/bin/yumdownloader", line 130, in ?
  File "/usr/bin/yumdownloader", line 70, in main
    my = initYum(opts.source)
  File "/usr/bin/yumdownloader", line 43, in initYum
  File "/usr/lib/python2.4/site-packages/PIL/__init__.py", line 225, in doRepoSetup

  File "repos.py", line 544, in baseurlSetup
  File "repos.py", line 427, in check
yum.Errors.RepoError: Cannot find a valid baseurl for repo: updates-released

Expected results:
yumdownloader should use the yum configuration properly (mirrorlists etc) to be
able to grab src files from all enabled repos.

Additional info:
no clue where the bug occurs i was too lazy to look into the source.
Comment 1 Matthew Miller 2005-11-28 07:46:06 EST
This isn't really a bug in yum-utils but in the lack of configuration files for
the source repo tree. This ought to be moved to component "fedora-release", but
there's no bugzilla component for that. (?!)
Comment 2 Seth Vidal 2005-11-28 08:19:17 EST
Comment 3 Rudolf Kastl 2005-11-28 08:23:20 EST
well also the exception should be handled properly.
Comment 4 Matthew Miller 2005-11-28 08:49:41 EST
Okay, sure. :)
Comment 5 Rudolf Kastl 2005-12-01 12:57:06 EST
problem also occurs with updates repository
Comment 6 Jesse Keating 2006-01-24 19:03:54 EST
I'm going to look into having a sources repo configured in the release and
available on the mirrors for FC5.
Comment 7 Ian Burrell 2006-01-31 00:46:09 EST
It would also be good to get repodata for the SRPMS directories for base and

Also, I would suggest using a consistent naming for the repositories.  Like
base-source, updates-sources, extras-source.  That way, doing
'--enablerepo=\*-source' would select all the source repos.  It could even be
done automatically by 'yumdownloader --source'.
Comment 8 Jesse Keating 2006-02-22 18:29:34 EST
Fedora-release package in rawhide includes -source repos for base, updates,
extras, development.  Also -debuginfo for these.  repodata is generated for
these dirs too.

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