[6906] in Release_7.7_team

home help back first fref pref prev next nref lref last post

Re: Lucid update

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Tue Aug 24 23:28:45 2010

Date: Tue, 24 Aug 2010 23:28:38 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Jonathan Reed <jdreed@mit.edu>
cc: release-team@mit.edu
In-Reply-To: <C9C563C8-90B6-4906-98C5-FA147FE6214F@mit.edu>
Message-ID: <alpine.DEB.1.10.1008242328010.26451@dr-wily.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Sat, 21 Aug 2010, Jonathan Reed wrote:

> Alternatively, do APT and friends play nice with HTTP 301?  We could set 
> up http://debathena.mit.edu/ubuntu and http://debathena.mit.edu/debian 
> to redirect to the mirrors of our choice.  If debathena.mit.edu is down, 
> installs are pretty much useless anyway.

From apt/methods/http.cc:

    /* We have a reply we dont handle. This should indicate a perm server
       failure */
    if (Srv->Result < 200 || Srv->Result >= 300)
    {
       _error->Error("%u %s",Srv->Result,Srv->Code);
       if (Srv->HaveContent == true)
          return 4;
       return 3;
    }

-- 
Geoffrey Thomas
geofft@mit.edu

home help back first fref pref prev next nref lref last post