Package: apt-proxy
Version: 1.9.32
Severity: grave
Justification: renders package unusable

Hi,

I just upgraded to the latest version of twisted in unstable
(2.1.0-2), which seems to be incompatible with apt-proxy.

At first, there is a dependency problem, as apt-proxy should depend on
python-twisted-web. After I installed this package manually, I was
able to get apt-proxy running. It does not do anything at all, though.
As soon as I try to update my package list, I get the following in
apt-proxy.log:

2006/01/22 20:36 EST [-] Log opened.
2006/01/22 20:36 EST [-] twistd 2.1.0 (/usr/bin/python2.3 2.3.5) starting up
2006/01/22 20:36 EST [-] reactor class: 
twisted.internet.selectreactor.SelectReactor
2006/01/22 20:36 EST [-] Loading /usr/sbin/apt-proxy...
2006/01/22 20:36 EST [-] 
/usr/lib/python2.3/site-packages/twisted/manhole/telnet.py:8: 
exceptions.DeprecationWarning: As of Twisted 2.1, twisted.protocols.telnet is 
deprecated.  See twisted.conch.telnet for the current, supported API.
2006/01/22 20:36 EST [-] WARNING: apt-proxy has not been tested under this 
version of twisted (2.1.0).
2006/01/22 20:36 EST [-] WARNING: although it should work without problem.
2006/01/22 20:36 EST [-] Loaded.
2006/01/22 20:36 EST [-] apt_proxy.apt_proxy.Factory starting on 9999
2006/01/22 20:36 EST [-] Starting factory <apt_proxy.apt_proxy.Factory instance 
at 0xb789b64c>
2006/01/22 20:36 EST [-] set uid/gid 107/65534
2006/01/22 20:36 EST [Channel,0,127.0.0.1] Traceback (most recent call last):
          File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 
58, in callWithLogger
            return callWithContext({"system": lp}, func, *args, **kw)
          File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 
43, in callWithContext
            return context.call({ILogContext: newCtx}, func, *args, **kw)
          File "/usr/lib/python2.3/site-packages/twisted/python/context.py", 
line 59, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/usr/lib/python2.3/site-packages/twisted/python/context.py", 
line 37, 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 
347, in doRead
            return self.protocol.dataReceived(data)
          File "/usr/lib/python2.3/site-packages/twisted/protocols/basic.py", 
line 232, in dataReceived
            why = self.lineReceived(line)
          File "/usr/lib/python2.3/site-packages/twisted/web/http.py", line 
961, in lineReceived
            self.allContentReceived()
          File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 
1669, in allContentReceived
            http.HTTPChannel.allContentReceived(self)
          File "/usr/lib/python2.3/site-packages/twisted/web/http.py", line 
1002, in allContentReceived
            req.requestReceived(command, path, version)
          File "/usr/lib/python2.3/site-packages/twisted/web/http.py", line 
557, in requestReceived
            self.process()
          File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 
1406, in process
            self.fetch()
          File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 
1485, in fetch
            d = self.check_cached()
          File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 
1577, in check_cached
            verifier.deferred.arm()
        exceptions.AttributeError: Deferred instance has no attribute 'arm'


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (600, 'unstable'), (570, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages apt-proxy depends on:
ii  adduser                       3.80       Add and remove users and groups
ii  bzip2                         1.0.3-2    high-quality block-sorting file co
ii  debconf [debconf-2.0]         1.4.68     Debian configuration management sy
ii  logrotate                     3.7.1-2    Log rotation utility
ii  python                        2.3.5-5    An interactive high-level object-o
ii  python-apt                    0.6.16     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-9    An interactive high-level object-o

apt-proxy recommends no packages.

-- debconf information excluded

-- 
Philipp Weis          [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to