[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#89671: apt-get fails when $ftp_proxy is set ...



On Fri, Mar 23, 2001 at 10:48:52PM -0700, Jason Gunthorpe wrote:
> 
> On Fri, 23 Mar 2001, Timshel Knoll wrote:
> 
> > Wierd. You've got just a plain 0.5.3 install???
> 
> Yes.
>  
> > [root@pippin pts/5 /home/timshel/var]# ftp_proxy="http://proxy.knoll.ln:8080"; wget ftp://mirror.aarnet.edu.au/pub/debian/dists/unstable/Contents-i386.gz
> 
> wget does not communicate with proxy servers the same way, APT has a habit
> of exposing non-RFC compliance because it used to be the only client in
> the world to do keep-alive and pipelining. 
> 
> The fact you get a Connection Timeout seems to confirm this suspicion.
> 
> If you 'strace -o /tmp/apt -f -ff apt-get ...' and send me the files I can
> at least confirm for you that is the problem.
> 
> You may also want to try the -o Acquire::HTTP::PipelineDepth=0 option.
> 
> Jason

OK, attached are tarred/gzip strace files. apt.strace.1147 is the
methods/ftp one ... These were created with your suggested strace
with apt-get update. I killed apt-get (SIGINT) after 2 connection
timeouts, as I didn't think you'll need any more of the same connection
timeout rubbish - 2 should be plenty ...

Running apt-get with -o Acquire::HTTP::PipelineDepth=0
(or Pipeline-Depth=0 as specified in apt.conf(5)) made no
difference to the problem.

Timshel

-- 
   Timshel Knoll <timshel@pobox.com>  for Debian email: <timshel@debian.org>
                Geomatics/Computer Science double degree, RMIT
      Debian GNU/Linux developer, see http://people.debian.org/~timshel/
                For GnuPG public key: finger timshel@debian.org

Attachment: apt-strace.tar.gz
Description: Binary data

Attachment: pgptNXRIefsxK.pgp
Description: PGP signature


Reply to: