Package: apt-proxy Version: 1.9.31 Severity: important Quite often apt-proxy freezes when I'm doing an "aptitude update". I have to stop and restart it then, and try again ... often several times in a row until all Package.gz files are fetched.
Below is an excerpt from apt-proxy.log. Please let me know if you need any further information. Thanks, - Stephan. -- apt-proxy.log: 2005/07/02 23:34 CEST [-] Log opened. 2005/07/02 23:34 CEST [-] twistd 2.0.1 (/usr/bin/python2.3 2.3.5) starting up 2005/07/02 23:34 CEST [-] reactor class: twisted.internet.selectreactor.SelectReactor 2005/07/02 23:34 CEST [-] Loading /usr/sbin/apt-proxy... 2005/07/02 23:34 CEST [-] /usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py:18: exceptions.DeprecationWarning: twisted.protocols.http has moved to twisted.web.http. See http://twistedmatrix.com/projects/web. 2005/07/02 23:34 CEST [-] Loaded. 2005/07/02 23:34 CEST [-] apt_proxy.apt_proxy.Factory starting on 9999 2005/07/02 23:34 CEST [-] Starting factory <apt_proxy.apt_proxy.Factory instance at 0xb79c8fac> 2005/07/02 23:34 CEST [-] set uid/gid 107/65534 2005/07/02 23:35 CEST [-] [debug] Verifying database: /var/cache/apt-proxy/.apt-proxy/db/access.db 2005/07/02 23:35 CEST [-] [debug] Opening database /var/cache/apt-proxy/.apt-proxy/db/access.db 2005/07/02 23:35 CEST [Channel,0,127.0.0.1] [debug] Headers: If-Modified-Since: Sat, 02 Jul 2005 19:34:01 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,0,127.0.0.1] [debug] Request: GET /debian/dists/unstable/main/binary-i386/Release 2005/07/02 23:35 CEST [Channel,0,127.0.0.1] [debug] Verification skipped for /var/cache/apt-proxy/debian/dists/unstable/main/binary-i386/Release 2005/07/02 23:35 CEST [Channel,0,127.0.0.1] [debug] Verifying database: /var/cache/apt-proxy/.apt-proxy/db/update.db 2005/07/02 23:35 CEST [Channel,0,127.0.0.1] [debug] Opening database /var/cache/apt-proxy/.apt-proxy/db/update.db 2005/07/02 23:35 CEST [Channel,0,127.0.0.1] /usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py:1543: exceptions.DeprecationWarning: Deferred.arm is deprecated, and does nothing. You should stop calling it. 2005/07/02 23:35 CEST [Channel,0,127.0.0.1] Starting factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb7585f8c> 2005/07/02 23:35 CEST [Channel,0,127.0.0.1] /usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py:1455: exceptions.DeprecationWarning: Deferred.arm is deprecated, and does nothing. You should stop calling it. 2005/07/02 23:35 CEST [-] Enabling Multithreading. 2005/07/02 23:35 CEST [Channel,1,127.0.0.1] [debug] Headers: If-Modified-Since: Sat, 02 Jul 2005 19:13:36 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,1,127.0.0.1] [debug] Request: GET /debian/dists/unstable/main/binary-i386/Packages.gz 2005/07/02 23:35 CEST [Channel,1,127.0.0.1] [debug] starting verification: /bin/gunzip ('/bin/gunzip', '-t', '-v', '/var/cache/apt-proxy/debian/dists/unstable/main/binary-i386/Packages.gz') 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Date Sat, 02 Jul 2005 21:35:25 GMT 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Server Apache/2.0.53 (Debian GNU/Linux) 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Connection close 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: ETag "d18410-52-d1049c40" 2005/07/02 23:35 CEST [Channel,0,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [FetcherHttp,client] [apt_pkg] REGISTERING PACKAGE:/debian/dists/unstable/main/binary-i386/Release 2005/07/02 23:35 CEST [FetcherHttp,client] Stopping factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb7585f8c> 2005/07/02 23:35 CEST [-] Starting factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb75b09ec> 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Date Sat, 02 Jul 2005 21:35:26 GMT 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Server Apache/2.0.53 (Debian GNU/Linux) 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Connection close 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: ETag "d181c9-36c765-88009800" 2005/07/02 23:35 CEST [Channel,1,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [FetcherHttp,client] Stopping factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb75b09ec> 2005/07/02 23:35 CEST [Channel,3,127.0.0.1] [debug] Headers: If-Modified-Since: Thu, 23 Jun 2005 18:21:39 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,3,127.0.0.1] [debug] Request: GET /debian/dists/unstable/contrib/binary-i386/Packages.gz 2005/07/02 23:35 CEST [Channel,3,127.0.0.1] [debug] starting verification: /bin/gunzip ('/bin/gunzip', '-t', '-v', '/var/cache/apt-proxy/debian/dists/unstable/contrib/binary-i386/Packages.gz') 2005/07/02 23:35 CEST [Channel,2,127.0.0.1] [debug] Headers: If-Modified-Since: Sat, 02 Jul 2005 19:34:01 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,2,127.0.0.1] [debug] Request: GET /debian/dists/unstable/main/binary-i386/Release 2005/07/02 23:35 CEST [Channel,2,127.0.0.1] [debug] Verification skipped for /var/cache/apt-proxy/debian/dists/unstable/main/binary-i386/Release 2005/07/02 23:35 CEST [Channel,2,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [Channel,3,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [Channel,4,127.0.0.1] [debug] Headers: If-Modified-Since: Thu, 23 Jun 2005 18:21:39 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,4,127.0.0.1] [debug] Request: GET /debian/dists/unstable/contrib/binary-i386/Packages.gz 2005/07/02 23:35 CEST [Channel,4,127.0.0.1] [debug] starting verification: /bin/gunzip ('/bin/gunzip', '-t', '-v', '/var/cache/apt-proxy/debian/dists/unstable/contrib/binary-i386/Packages.gz') 2005/07/02 23:35 CEST [Channel,5,127.0.0.1] [debug] Headers: If-Modified-Since: Sat, 02 Jul 2005 19:34:01 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,5,127.0.0.1] [debug] Request: GET /debian/dists/unstable/contrib/binary-i386/Release 2005/07/02 23:35 CEST [Channel,5,127.0.0.1] [debug] Verification skipped for /var/cache/apt-proxy/debian/dists/unstable/contrib/binary-i386/Release 2005/07/02 23:35 CEST [Channel,5,127.0.0.1] Starting factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb6a3746c> 2005/07/02 23:35 CEST [Channel,4,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [Channel,5,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [Channel,6,127.0.0.1] [debug] Headers: If-Modified-Since: Sat, 02 Jul 2005 19:34:01 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,6,127.0.0.1] [debug] Request: GET /debian/dists/unstable/contrib/binary-i386/Release 2005/07/02 23:35 CEST [Channel,7,127.0.0.1] [debug] Headers: If-Modified-Since: Tue, 28 Jun 2005 19:09:28 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,7,127.0.0.1] [debug] Request: GET /debian/dists/unstable/non-free/binary-i386/Packages.gz 2005/07/02 23:35 CEST [Channel,7,127.0.0.1] [debug] starting verification: /bin/gunzip ('/bin/gunzip', '-t', '-v', '/var/cache/apt-proxy/debian/dists/unstable/non-free/binary-i386/Packages.gz') 2005/07/02 23:35 CEST [-] Starting factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb6a378ec> 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Date Sat, 02 Jul 2005 21:35:28 GMT 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Server Apache/2.0.53 (Debian GNU/Linux) 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Connection close 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: ETag "d18339-55-d1049c40" 2005/07/02 23:35 CEST [Channel,6,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [Channel,7,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [FetcherHttp,client] [apt_pkg] REGISTERING PACKAGE:/debian/dists/unstable/contrib/binary-i386/Release 2005/07/02 23:35 CEST [FetcherHttp,client] Stopping factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb6a3746c> 2005/07/02 23:35 CEST [Channel,8,127.0.0.1] [debug] Headers: If-Modified-Since: Tue, 28 Jun 2005 19:09:28 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,8,127.0.0.1] [debug] Request: GET /debian/dists/unstable/non-free/binary-i386/Packages.gz 2005/07/02 23:35 CEST [Channel,9,127.0.0.1] [debug] Headers: If-Modified-Since: Sat, 02 Jul 2005 19:34:01 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,9,127.0.0.1] [debug] Request: GET /debian/dists/unstable/non-free/binary-i386/Release 2005/07/02 23:35 CEST [Channel,9,127.0.0.1] [debug] Verification skipped for /var/cache/apt-proxy/debian/dists/unstable/non-free/binary-i386/Release 2005/07/02 23:35 CEST [Channel,9,127.0.0.1] Starting factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb6a3740c> 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Date Sat, 02 Jul 2005 21:35:28 GMT 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Server Apache/2.0.53 (Debian GNU/Linux) 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Connection close 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: ETag "d54e15-10676-1daea00" 2005/07/02 23:35 CEST [Channel,8,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [Channel,9,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [FetcherHttp,client] Stopping factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb6a378ec> 2005/07/02 23:35 CEST [Channel,10,127.0.0.1] [debug] Headers: If-Modified-Since: Sat, 02 Jul 2005 19:34:01 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,10,127.0.0.1] [debug] Request: GET /debian/dists/unstable/non-free/binary-i386/Release 2005/07/02 23:35 CEST [Channel,11,127.0.0.1] [debug] Headers: If-Modified-Since: Thu, 30 Jun 2005 19:08:52 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,11,127.0.0.1] [debug] Request: GET /debian/dists/testing/main/binary-i386/Packages.gz 2005/07/02 23:35 CEST [Channel,11,127.0.0.1] [debug] starting verification: /bin/gunzip ('/bin/gunzip', '-t', '-v', '/var/cache/apt-proxy/debian/dists/testing/main/binary-i386/Packages.gz') 2005/07/02 23:35 CEST [-] Starting factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb6a3f26c> 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Date Sat, 02 Jul 2005 21:35:28 GMT 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Server Apache/2.0.53 (Debian GNU/Linux) 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Connection close 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: ETag "119c00e-56-d1049c40" 2005/07/02 23:35 CEST [Channel,10,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [Channel,11,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [FetcherHttp,client] [apt_pkg] REGISTERING PACKAGE:/debian/dists/unstable/non-free/binary-i386/Release 2005/07/02 23:35 CEST [FetcherHttp,client] Stopping factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb6a3740c> 2005/07/02 23:35 CEST [Channel,12,127.0.0.1] [debug] Headers: If-Modified-Since: Sat, 02 Jul 2005 19:33:47 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,12,127.0.0.1] [debug] Request: GET /debian/dists/testing/main/binary-i386/Release 2005/07/02 23:35 CEST [Channel,12,127.0.0.1] [debug] Verification skipped for /var/cache/apt-proxy/debian/dists/testing/main/binary-i386/Release 2005/07/02 23:35 CEST [Channel,12,127.0.0.1] Starting factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb6a37e8c> 2005/07/02 23:35 CEST [Channel,13,127.0.0.1] [debug] Headers: If-Modified-Since: Thu, 30 Jun 2005 19:08:52 GMT, Host: localhost:9999, User-Agent: Debian APT-HTTP/1.3, Via: 1.1 gauss.linigo.de:3128 (squid/2.5.STABLE10), X-Forwarded-For: unknown, Cache-Control: max-age=0, Connection: keep-alive 2005/07/02 23:35 CEST [Channel,13,127.0.0.1] [debug] Request: GET /debian/dists/testing/main/binary-i386/Packages.gz 2005/07/02 23:35 CEST [Uninitialized] Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 56, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 41, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 52, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 31, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/internet/selectreactor.py", line 139, in _doReadOrWrite why = getattr(selectable, method)() File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 543, in doConnect self._connectDone() File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 548, in _connectDone self.protocol.makeConnection(self) File "/usr/lib/python2.3/site-packages/twisted/internet/protocol.py", line 328, in makeConnection self.connectionMade() File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 579, in connectionMade self.sendCommand(self.request.method, self.request.backendServer.path exceptions.AttributeError: 'NoneType' object has no attribute 'path' 2005/07/02 23:35 CEST [Uninitialized] Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/application/app.py", line 128, in runReactorWithLogging reactor.run() File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line 199, in run self.mainLoop() File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line 210, in mainLoop self.doIteration(t) File "/usr/lib/python2.3/site-packages/twisted/internet/selectreactor.py", line 133, in doSelect _logrun(selectable, _drdw, selectable, method, dict) --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 56, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 41, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 52, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 31, in callWithContext return func(*args,**kw) File "/usr/lib/python2.3/site-packages/twisted/internet/selectreactor.py", line 149, in _doReadOrWrite self._disconnectSelectable(selectable, why, method=="doRead") File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line 237, in _disconnectSelectable selectable.connectionLost(failure.Failure(why)) File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 556, in connectionLost Connection.connectionLost(self, reason) File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 402, in connectionLost protocol.connectionLost(reason) File "/usr/lib/python2.3/site-packages/twisted/web/http.py", line 351, in connectionLost self.handleResponseEnd() File "/usr/lib/python2.3/site-packages/twisted/web/http.py", line 357, 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 == http.NOT_MODIFIED: exceptions.AttributeError: FetcherHttp instance has no attribute 'http_status' 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Date Sat, 02 Jul 2005 21:35:30 GMT 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Server Apache/2.0.53 (Debian GNU/Linux) 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: Connection close 2005/07/02 23:35 CEST [FetcherHttp,client] [debug] Received: ETag "d1c489-51-d02efcc0" 2005/07/02 23:35 CEST [Channel,12,127.0.0.1] [debug] Client connection closed 2005/07/02 23:35 CEST [FetcherHttp,client] [apt_pkg] REGISTERING PACKAGE:/debian/dists/testing/main/binary-i386/Release 2005/07/02 23:35 CEST [FetcherHttp,client] Stopping factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb6a37e8c> -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11-1-k7 Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15) Versions of packages apt-proxy depends on: ii bzip2 1.0.2-7 high-quality block-sorting file co ii debconf 1.4.51 Debian configuration management sy ii logrotate 3.7-5 Log rotation utility ii python 2.3.5-2 An interactive high-level object-o ii python-apt 0.5.10 Python interface to libapt-pkg ii python-bsddb3 3.3.0-6 Python interface to libdb3 ii python-twisted 2.0.1-3 Event-based framework for internet ii python2.3 2.3.5-6 An interactive high-level object-o apt-proxy recommends no packages. -- debconf information: apt-proxy/upgrading-v2: apt-proxy/upgrading-v2-result:
signature.asc
Description: Digital signature