Marcin Kasperski
2008-Feb-14 09:48 UTC
[Xapian-discuss] Xapian Debian/Ubuntu repositiories does not work (APT does not handle redirects!)
Hello everybody. I just tried installing xapian according to instructions on http://xapian.org/download.php on Ubuntu Gutsy and on Debian Etch. The result is in both cases the same: Failed to fetch http://www.xapian.org/debian/dists/gutsy/main/binary-i386/Packages.gz 301 Moved Permanently Failed to fetch http://www.xapian.org/debian/dists/gutsy/main/source/Sources.gz 301 Moved Permanently Failed to fetch http://www.xapian.org/debian/dists/stable/main/source/Sources.gz 301 Moved Permanently Failed to fetch http://www.xapian.org/debian/dists/stable/main/binary-i386/Packages.gz 301 Moved Permanently The reason is simple, APT does not handle HTTP redirects. Yes, I know, that's stupid. But I can't do anything about it. Even if they patch it some day (and there are some flames about possible security consequences), those patches won't be backported. So if the archive for debian's and ubuntu's is to be useful, it can't use redirects. -- ---------------------------------------------------------------------- | Marcin Kasperski | The cost of a few uncorrected non-critical | http://mekk.waw.pl | human errors is less then the cost imposed | | by a process that tries to prevent them. | | (Booch,Martin,Newkirk) ----------------------------------------------------------------------
Matthew Somerville
2008-Feb-14 10:27 UTC
[Xapian-discuss] Xapian Debian/Ubuntu repositiories does not work (APT does not handle redirects!)
Marcin Kasperski wrote:> So if the archive for debian's and ubuntu's is to be useful, it can't > use redirects.If you change your sources.list to use http://xapian.org/ instead of http://www.xapian.org/ it won't have a redirect - I guess the documentation needs updating accordingly. ATB, Matthew