Package: apt-proxy
Version: 1.9.35
Severity: normal
Hi
If apt-proxy is already downloading a file when another client requests the
same file I get the exception below. The client aptitude instance reports
"[ERROR] Connection failed".
Needless to say this is an issue for when attempting to update multiple
similar machines at the same time.
I believe that with pipelining enabled, the same situation seems to result in
the same file being queued for download multiple times. Hence I have
disable_pipelining=1 in apt-proxy-v2.conf.
Since avoiding multiple download is the prime reason for using apt-proxy,
perhaps pipelining should be disabled by default for etch?
Thanks for your work on Debian.
Andrew V.
2006/11/07 15:47 EST [Channel,7,192.168.1.24] Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/twisted/python/log.py", line
53, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/log.py", line
38, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/context.py",
line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/context.py",
line 37, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File
"/usr/lib/python2.4/site-packages/twisted/internet/selectreactor.py", line 139,
in _doReadOrWrite
why = getattr(selectable, method)()
File "/usr/lib/python2.4/site-packages/twisted/internet/tcp.py", line
348, in doRead
return self.protocol.dataReceived(data)
File "/usr/lib/python2.4/site-packages/twisted/protocols/basic.py",
line 232, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line
1004, in lineReceived
self.allContentReceived()
File "/usr/lib/python2.4/site-packages/apt_proxy/apt_proxy.py", line
374, in allContentReceived
http.HTTPChannel.allContentReceived(self)
File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line
1045, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line
601, in requestReceived
self.process()
File "/usr/lib/python2.4/site-packages/apt_proxy/apt_proxy.py", line
282, in process
self.cacheEntry.add_request(self)
File "/usr/lib/python2.4/site-packages/apt_proxy/cache.py", line 102,
in add_request
raise RuntimeError, \
exceptions.RuntimeError: TODO: multiple clients not implemented yet
2006/11/07 15:47 EST [Channel,8,192.168.1.24] Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/twisted/python/log.py", line
53, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/log.py", line
38, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/context.py",
line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/context.py",
line 37, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File
"/usr/lib/python2.4/site-packages/twisted/internet/selectreactor.py", line 139,
in _doReadOrWrite
why = getattr(selectable, method)()
File "/usr/lib/python2.4/site-packages/twisted/internet/tcp.py", line
348, in doRead
return self.protocol.dataReceived(data)
File "/usr/lib/python2.4/site-packages/twisted/protocols/basic.py",
line 232, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line
1004, in lineReceived
self.allContentReceived()
File "/usr/lib/python2.4/site-packages/apt_proxy/apt_proxy.py", line
374, in allContentReceived
http.HTTPChannel.allContentReceived(self)
File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line
1045, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line
601, in requestReceived
self.process()
File "/usr/lib/python2.4/site-packages/apt_proxy/apt_proxy.py", line
282, in process
self.cacheEntry.add_request(self)
File "/usr/lib/python2.4/site-packages/apt_proxy/cache.py", line 102,
in add_request
raise RuntimeError, \
exceptions.RuntimeError: TODO: multiple clients not implemented yet
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Versions of packages apt-proxy depends on:
ii adduser 3.99 Add and remove users and groups
ii bzip2 1.0.3-6 high-quality block-sorting file co
ii debconf [debconf-2.0] 1.5.8 Debian configuration management sy
ii logrotate 3.7.1-3 Log rotation utility
ii python 2.4.3-11 An interactive high-level object-o
ii python-apt 0.6.19 Python interface to libapt-pkg
ii python-central 0.5.8 register and build utility for Pyt
ii python-twisted-web 0.6.0-1 An HTTP protocol implementation to
apt-proxy recommends no packages.
-- debconf information:
apt-proxy/upgrading-v2:
apt-proxy/upgrading-v2-result:
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]