Bug#788362: security-tracker switched to ftp.de.d.o as httpredir returns 404 when it shouldnt
Hi,
On Wed, 10 Jun 2015, Holger Levsen wrote:
> httpredir as used for security-tracker.debian.org has some problems updating
> some Packages files, _sometimes_. IOW: i've seen this working on my laptop,
> but not when deployed on soler. The url exists... (or rather it does as Packages.gz,
> so it seems apt-update-file has some magic here too...) but it repeatedly
> failed like this. (or similar for other targets too)
The URL does not exist but Apache's configuration make it exist on most
mirrors:
$ curl -I http://ftp.de.debian.org/debian/dists/wheezy/contrib/binary-sparc/Packages
HTTP/1.1 200 OK
Date: Wed, 10 Jun 2015 19:28:42 GMT
Server: Apache/2.2.22 (Debian)
Content-Location: Packages.bz2
This is Apache's "MultiViews" making the URL work. I guess that you are
redirected on a mirror that might not use Apache or where this option is
not enabled.
$ curl -I http://ftp.debian.org/debian/dists/wheezy/contrib/binary-sparc/Packages
HTTP/1.1 404 Not Found
Date: Wed, 10 Jun 2015 19:35:23 GMT
Server: Apache
Content-Type: text/html; charset=iso-8859-1
I would suggest to always use the Packages.gz / Sources.gz URL directly.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/
Reply to: