Your message dated Wed, 28 Jun 2000 16:36:22 -0600 (MDT)
with message-id <[EMAIL PROTECTED]>
and subject line Bug#66434: apt can't handle HTTP/1.0 redirects
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Darren Benham
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Jun 2000 20:36:49 +0000
>From [EMAIL PROTECTED] Wed Jun 28 15:36:49 2000
Return-path: <[EMAIL PROTECTED]>
Received: from achilles.noc.ntua.gr (ntua.gr) [147.102.222.210]
by master.debian.org with esmtp (Exim 3.12 2 (Debian))
id 137OZl-0007fN-00; Wed, 28 Jun 2000 15:36:49 -0500
Received: from theseas.softlab.ece.ntua.gr (theseas.softlab.ece.ntua.gr
[147.102.1.1])
by ntua.gr (8.9.3/8.9.3) with ESMTP id XAA24389
for <[EMAIL PROTECTED]>; Wed, 28 Jun 2000 23:36:47 +0300 (EET DST)
Received: (from [EMAIL PROTECTED])
by theseas.softlab.ece.ntua.gr (8.10.1/8.10.1) id e5SKaka24643
for [EMAIL PROTECTED]; Wed, 28 Jun 2000 23:36:46 +0300 (EET DST)
Date: Wed, 28 Jun 2000 23:36:46 +0300
From: Costas Tavernarakis <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: apt can't handle HTTP/1.0 redirects
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0i
Delivered-To: [EMAIL PROTECTED]
Package: apt
Version: 0.3.19
Apt-get cannot handle http redirects (code 302 responses).
To reproduce: setup an apache, and configure it with a
"Redirect / http://some-debian-mirror/"
Mention this apache instead of the real site in sources.list,
and try to apt-get update.
I'd like to have this feature, so that i can temporarily
redirect users of my mirror to other sites, if the mirrored
data is ever unavailable.
For example, with a sources.list line:
deb http://debian.otenet.gr/debian potato main contrib non-free
(that site currently issues redirects),
i get errors such as:
Err http://debian.otenet.gr potato/main Packages
302 Found
Ign http://debian.otenet.gr potato/main Release
Err http://debian.otenet.gr potato/contrib Packages
302 Found
Ign http://debian.otenet.gr potato/contrib Release
Err http://debian.otenet.gr potato/non-free Packages
302 Found
Ign http://debian.otenet.gr potato/non-free Release
Costas Tavernarakis
---------------------------------------
Received: (at 66434-done) by bugs.debian.org; 28 Jun 2000 22:36:30 +0000
>From [EMAIL PROTECTED] Wed Jun 28 17:36:30 2000
Return-path: <[EMAIL PROTECTED]>
Received: from tmmi197-073.telusvelocity.net (wakko.deltatee.com)
[209.115.197.73] (mail)
by master.debian.org with esmtp (Exim 3.12 2 (Debian))
id 137QRY-00041X-00; Wed, 28 Jun 2000 17:36:29 -0500
Received: from localhost (wakko.deltatee.com) [127.0.0.1] (jgg)
by wakko.deltatee.com with smtp (Exim 2.11 #1)
id 137QRS-0004nG-00 (Debian); Wed, 28 Jun 2000 16:36:22 -0600
Date: Wed, 28 Jun 2000 16:36:22 -0600 (MDT)
From: Jason Gunthorpe <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
To: Costas Tavernarakis <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
cc: [EMAIL PROTECTED], [email protected],
APT Development Team <[EMAIL PROTECTED]>
Subject: Re: Bug#66434: apt can't handle HTTP/1.0 redirects
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: [EMAIL PROTECTED]
On Wed, 28 Jun 2000, Costas Tavernarakis wrote:
> Apt-get cannot handle http redirects (code 302 responses).
> To reproduce: setup an apache, and configure it with a
> "Redirect / http://some-debian-mirror/"
> Mention this apache instead of the real site in sources.list,
> and try to apt-get update.
Deliberate, redirects are not guarenteed to give the same file that was
requests (see for instance mod speeling)
No proper mirror should generate redirects like that, play with the DNS
instead.
Jason