From: Remco J. <R....@od...> - 2005-09-24 10:14:13
|
Hi list, I have installed apt-proxy on my Debian Sarge server using apt-get. I the= n changed /etc/apt/sources.list of that same server to use the apt-proxy. Next I ran 'apt-get update' in a shell. Everything went fine untill the update script wanted to download the non-free Packages file. It kept 'waiting for headers' and eventually timed out. In /var/log/apt-proxy.log I found the following lines: 2005/09/24 11:18 CEST [Channel,4,10.0.0.1] [debug] Headers: Host: geert:9999, Connection: keep-alive, User-Agent: Debian APT-HTTP/1.3 2005/09/24 11:18 CEST [Channel,4,10.0.0.1] [debug] Request: GET /debian/dists/sarge/non-free/binary-i386/Packages.gz 2005/09/24 11:18 CEST [Channel,4,10.0.0.1] Starting factory <apt_proxy.apt_proxy.ClientFactory instance at 0x406f38ec> 2005/09/24 11:18 CEST [FetcherHttp,client] [apt_pkg] REGISTERING PACKAGE:/debian/dists/sarge/contrib/binary-i386/Release 2005/09/24 11:18 CEST [FetcherHttp,client] Stopping factory <apt_proxy.apt_proxy.ClientFactory instance at 0x406dda2c> 2005/09/24 11:20 CEST [Channel,4,10.0.0.1] [debug] Client connection clos= ed 2005/09/24 11:20 CEST [Channel,5,10.0.0.1] [debug] Headers: Host: geert:9999, Connection: keep-alive, User-Agent: Debian APT-HTTP/1.3 2005/09/24 11:20 CEST [Channel,5,10.0.0.1] [debug] Request: GET /debian/dists/sarge/non-free/binary-i386/Packages.gz 2005/09/24 11:20 CEST [FetcherHttp,client] Traceback (most recent call la= st): File "/usr/lib/python2.3/site-packages/twisted/application/app.py", line 95, in runReactorWithLogging reactor.run() File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 126, in run self.mainLoop() File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 137, in mainLoop self.doIteration(t) File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 526, in doSelect _logrun(selectable, _drdw, selectable, method, dict) --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, in callWithLogger callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 43, in callWithContext return func(*args,**kw) File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 549, in _doReadOrWrite selectable.connectionLost(f) File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py"= , line 447, in connectionLost Connection.connectionLost(self, reason) File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py"= , line 294, in connectionLost protocol.connectionLost(reason) File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 361, in connectionLost self.handleResponseEnd() File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 367, in handleResponseEnd self.handleResponse(b) File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 628, in handleResponse if self.http_status =3D=3D http.NOT_MODIFIED: exceptions.AttributeError: FetcherHttp instance has no attribute 'http_status' Does anyone know how to fix this? Any help would be appreciated. Remco |