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

Bug#42363: marked as done (apt: http method through caching proxy fails)



Your message dated Fri, 24 Sep 1999 20:18:54 -0600 (MDT)
with message-id <Pine.LNX.3.96.990924201759.2349L-100000@localhost>
and subject line Unreproducable
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; 3 Aug 1999 00:23:15 +0000
Received: (qmail 27214 invoked from network); 3 Aug 1999 00:23:13 -0000
Received: from ppp87.b2.56k.execulink.com (HELO weniac.math.toronto.edu) (root@209.239.22.103)
  by master.debian.org with SMTP; 3 Aug 1999 00:23:13 -0000
Received: from yomama.math.toronto.edu (really [192.168.68.7]) by weniac.math.toronto.edu
	via in.smtpd with esmtp (ident root using rfc1413)
	id <m11BSDo-000OTYC@weniac.math.toronto.edu> (Debian Smail3.2.0.102)
	for <submit@bugs.debian.org>; Mon, 2 Aug 1999 20:14:24 -0400 (EDT) 
Received: by weniac.math.toronto.edu
	via sendmail from stdin
	id <m11BSDS-0004hOC@yomama.math.toronto.edu> (Debian Smail3.2.0.102)
	for dolittle@weniac.math.toronto.edu; Tue, 3 Aug 1999 00:14:02 +0000 (/etc/localtime) 
Message-Id: <m11BSDS-0004hOC@yomama.math.toronto.edu>
Date: Tue, 3 Aug 1999 00:14:02 +0000 (/etc/localtime)
From:  <dolittle@weniac.math.toronto.edu>
Subject: apt: http method through caching proxy fails
To: submit@bugs.debian.org
Bcc:
X-Mailer: bug 3.2.2

Package: apt
Version: 0.3.11
Severity: normal

I am upgrading several machines using dpkg/apt with http.  I set up one
with apache-ssl to act as a caching proxy with the following additions
to the httpd.conf file:

# ----------------------------Proxy--------------------------------
ProxyRequests on
CacheRoot /var/cache/apache-ssl-proxy
# 100 MB = 100000 kB
CacheSize 100000
CacheGcInterval 1
# 168 hours = 7 days
CacheMaxExpire 168
# ----------------------------Proxy--------------------------------

I set up apt on all the machines to send http requests through the
proxy with the following apt.conf file:

# -------------------apt.conf------------------
Acquire {

  http {
    Proxy "http://192.168.68.1:80/";;
  };

};
# -------------------apt.conf------------------

Now, whenever apt makes a request for a package which has been cached,
I get the message (seemingly at the very beginning of the transfer or
after a few 100 bytes have been sent):

	E: size mismatch for package whatever

I then have to restart the transfer manually, even if I set Retries to
"2". The second and subsequent requests for a cached package seem to go
fine.

I suspect this is due to lack of support in apt of a certain aspect of
the http/proxy protocol, which is why I am reporting this as an apt
bug, but that is just a guess.

-- System Information
Debian Release: potato
Kernel Version: Linux yomama 2.0.35 #1 Sun Dec 27 22:51:43 EST 1998 i586 unknown

Versions of the packages apt depends on:
ii  libc6           2.1.2-0pre2    GNU C Library: Shared libraries and timezone
ii  libstdc++2.9-gl 2.91.66-2      The GNU stdc++ library (EGCS version)
---------------------------------------
Received: (at 42363-done) by bugs.debian.org; 25 Sep 1999 02:18:58 +0000
Received: (qmail 8430 invoked from network); 25 Sep 1999 02:18:57 -0000
Received: from async20-1.remote.ualberta.ca (HELO localhost) (mail@129.128.237.74)
  by master.debian.org with SMTP; 25 Sep 1999 02:18:57 -0000
Received: from localhost [127.0.0.1] (jgg)
	by localhost with smtp (Exim 2.11 #1)
	id 11UhQM-00024D-00 (Debian); Fri, 24 Sep 1999 20:18:54 -0600
Date: Fri, 24 Sep 1999 20:18:54 -0600 (MDT)
From: Jason Gunthorpe <jgg@ualberta.ca>
X-Sender: jgg@localhost
To: 42363-done@bugs.debian.org
Subject: Unreproducable
Message-ID: <Pine.LNX.3.96.990924201759.2349L-100000@localhost>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


This has been tested by numerous other people with no problems on apache
proxies. Thus it must be a local configuration error or an old buggy
version of apache.

Jason


Reply to: