Package: apt-proxy
Version: 1.9.32-0
Followup-For: Bug #349447

Hi,

sorry for c&p from BTS website, but

> I wanted to clarify that (at least here ony my server) the proposed
> workaround I posted to #349447 does not fix the problem. yes,
> apt-proxy seems to work but fails in many places as presumably the
> success-/error-handlers are not called correctly anymore. advice of
> Twisted experts needed.

Tuncer, 

did you even check the source? This "fix" is already in place "since"
_Sarge_, arm() is defined as:

def arm():
  pass

In Etch's twisted (2.0.X) it's defined with a deprecation warning, which
you should be able to see on your apt-proxy logs. Now in twisted 2.1.0
this function was completely removed as proposed by the deprecation
warning. That (and the move of the web module) broke apt-proxy with
twisted 2.1.0. The only version I could find on debians server that
includes a real implementation for arm() is 0.15.5, which I guess is
from woody.

The callbacks are definitely called, as well as the Errbacks. I can see
that in the log of apt-proxy. I'd also like to have a twisted expert to
have a look at apt-proxy, but for knowing that the removal of
arm()-calls and adding the dependecy on twisted-web fixes this
bug-report you don't need one. At least not when you're able to read
python code.

Regarding your problems: I already stated that the 2 examples you gave
pretty much look like frontend-problems, i.e. apt-get or whatever you
use. Those problems might have been introduced by the same time you
installed the "fixed" version of apt-proxy. Or something really weird is
going on on your server if it actually reads packages from
/var/cache/apt/archives (which is the place that apt-get clean cleans).

Andreas

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing'), (500, 
'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-cherry
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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.1.0-2    Event-based framework for internet
ii  python-twisted-web            0.5.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]

Reply via email to