FS#36815 - {mirror} mirrors.aggregate.org: returns non-400 response on file not found

Attached to Project: Arch Linux
Opened by Dave Reisner (falconindy) - Friday, 06 September 2013, 20:39 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 20 May 2014, 16:36 GMT
Task Type Bug Report
Category Mirrors
Status Closed
Assigned To Jakob Wadsager (fleet)
Architecture All
Severity Low
Priority Normal
Reported Version 4.1.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Mirrors should not try to be "clever". If a file doesn't exist, it should say as much. mirrors.aggregate.org returns a 300 response with "options" in the response body that pacman could never possibly handle correctly (since the package suggested to be downloaded wouldn't match the local sync DB):

$ curl http://mirrors.aggregate.org/archlinux/community/os/x86_64/cpupower-3.10-2-x86_64.pkg.tar.xz
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>300 Multiple Choices</title>
</head><body>
<h1>Multiple Choices</h1>
The document name you requested (<code>/archlinux/community/os/x86_64/cpupower-3.10-2-x86_64.pkg.tar.xz</code>) could not be found on this server.
However, we found documents with names similar to the one you requested.<p>Available documents:
<ul>
<li><a href="/archlinux/community/os/x86_64/cpupower-3.11-1-x86_64.pkg.tar.xz">/archlinux/community/os/x86_64/cpupower-3.11-1-x86_64.pkg.tar.xz</a> (common basename)
<li><a href="/archlinux/community/os/x86_64/cpupower-3.11-1-x86_64.pkg.tar.xz.sig">/archlinux/community/os/x86_64/cpupower-3.11-1-x86_64.pkg.tar.xz.sig</a> (common basename)
</ul>
</body></html>
This task depends upon

Closed by  Dave Reisner (falconindy)
Tuesday, 20 May 2014, 16:36 GMT
Reason for closing:  Upstream
Additional comments about closing:  Obsolete, appears to have been resolved.
Comment by Johannes Löthberg (demize) - Tuesday, 20 May 2014, 16:25 GMT
This seems to be fixed now.

Loading...