Red Hat Bugzilla – Bug 107405
src rpms not download (404 - Page not found)
Last modified: 2007-11-30 17:10:32 EST
Description of problem:
I selected the option to download the src rpms when I downloaded updates. This
is using the new yum/rawhide interface for test3.
Instead of the src package being downloaded, I get a 404 message ... page not found.
I suspect the structure of the directory tree differs between rawhide and the
"rhn stucture" up2date normally expects.
Steps to reproduce:
1) Use a yum repository with SRMS not directly under yum root.
2) up2date --get-source foo
3) file /var/spool/up2date/foo-0.1-1.noarch.rpm reveals ASCII file long lines,
which is the 404 page
This is as up2date isn't using the path hints in header.src.info which is
generated by yum-arch -s
In addition this seems to be due to to http://ftp.redhat.com using a 302 to
direct to the error page and there not being a 404 in the HTTP header:
To reproduce lynx --mime_header
http://ftp.redhat.com/pub/redhat/linux/foo/foo-0.1-1.src.rpm | head
Other mirrors get an I/O Error as expected