Odd Failover behavior

"Adam B." <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
I use yum with a repo that occasionally sends me a corrupt file.
The gpgcheck option catches the corrupt file, but when yum then
fails over to the other servers in the repo, instead of requesting the
whole file again, yum requests the file with a range request of the
form "Range: bytes <size of file> -", from all the remaining servers.
This results in the following output:


(1/1): vlc-core-0.8.6e-1. 100% |=========================| 2.8 MB    00:17
http://rpm.livna.org/fedora/8/x86_64/vlc-core-0.8.6e-1.lvn8.x86_64.rpm:
[Errno -1] Package does not match intended download
Trying other mirror.
http://livna.cat.pdx.edu/fedora/8/x86_64/vlc-core-0.8.6e-1.lvn8.x86_64.rpm:
[Errno 9] Requested Range Not Satisfiable
Trying other mirror.
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/8/x86_64/vlc-core-0.8.6e-1.lvn8.x86_64.rpm:
[Errno 9] Requested Range Not Satisfiable
Trying other mirror.
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/8/x86_64/vlc-core-0.8.6e-1.lvn8.x86_64.rpm:
[Errno 9] Requested Range Not Satisfiable
Trying other mirror.
http://mirror.atrpms.net/livna/fedora/8/x86_64/vlc-core-0.8.6e-1.lvn8.x86_64.rpm:
[Errno 9] Requested Range Not Satisfiable
Trying other mirror.


Error Downloading Packages:
  vlc-core - 0.8.6e-1.lvn8.x86_64: failure:
vlc-core-0.8.6e-1.lvn8.x86_64.rpm from livna: [Errno 256] No more mirrors to
try.

It seems to me that the expected behavior of yum when encountering
a complete but corrupt file, should be to request the whole file from
the fail over servers. At least in this case there is the possibility of
completing the request.

Adam B.

_______________________________________________
Yum mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.