Description of problem:
yumdownloader isn't able to find RPMS or SRPMS in channels that are configured
using mirror lists.
The URLs it returns are not valid paths to the RPMs in question; it appears to
be dropping the last path element of the mirror URL each time.
Version-Release number of selected component (if applicable):
(I think this bug also affects the FC7 version)
Steps to Reproduce:
1. yumdownloader --enablerepo=updates --urls kernel
Should generate the correct URL!
In this case, the value returned is (for this spin of the mirrors)
the correct result should be
I think the culprit (or one of the culprits) is the 'urlparse.urljoin' line on
169 of /usr/bin/yumdownloader. Note that 'urlparse.urljoin' works differently
from 'os.path.join'. The left-hand argument is *not* assumed to be a directory
path unless it's terminated with a slash character:
>>> import urlparse
>>> urlparse.urljoin("a/b", "c")
>>> urlparse.urljoin("a/b/", "c")
I have fixed it upstream.
yum-utils-1.1.8-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update yum-utils'
yum-utils-1.1.8-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.