Package: apt-proxy
Version: 1.9.25
Severity: normal

After successfully adding marillats ftp repository to apt-proxy
(apt-get update; apt-get dists-upgrade; had no problems)

Adding my repositories to apt-proxies configuration:

ach-sarge]
backends = http://www.mpe.mpg.de/~ach/debian/sarge
[ach-sid]
backends = http://www.mpe.mpg.de/~ach/debian/sid
[ach-experimental]
backends = http://www.mpe.mpg.de/~ach/debian/experimental

and to sources.list:

deb http://debian:9999/ach-sarge ./
deb http://debian:9999/ach-sid ./
deb http://debian:9999/ach-experimental ./

apt-get update failed 3 times with

Err http://debian ./ Packages
  Connection failed
Err http://debian ./ Release
....

In the apt-proxy.log I found several:


2005/02/22 18:53 CET [Channel,371,127.0.0.1] [debug] Headers: Host: 
debian:9999, Connection: keep-alive, User-Agent: Debian APT-HTTP/1.3
2005/02/22 18:53 CET [Channel,371,127.0.0.1] [debug] Request: GET 
/ach-sarge/./Packages.gz
2005/02/22 18:53 CET [Channel,371,127.0.0.1] [debug] Adding ach-sarge backend 
dynamicaly
2005/02/22 18:53 CET [Channel,371,127.0.0.1] Traceback (most recent call last):
          File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", 
line 526, in doSelect
            _logrun(selectable, _drdw, selectable, method, dict)
          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)
        --- <exception caught here> ---
          File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", 
line 535, in _doReadOrWrite
            why = getattr(selectable, method)()
          File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 
255, in doRead
            return self.protocol.dataReceived(data)
          File "/usr/lib/python2.3/site-packages/twisted/protocols/basic.py", 
line 223, in dataReceived
            why = self.lineReceived(line)
          File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", 
line 965, in lineReceived
            self.allContentReceived()
          File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 
1624, in allContentReceived
            http.HTTPChannel.allContentReceived(self)
          File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", 
line 1006, in allContentReceived
            req.requestReceived(command, path, version)
          File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", 
line 557, in requestReceived
            self.process()
          File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 
1345, in process
            self.backend = Backend(self.uri[1:].split('/')[0], self.factory
        exceptions.AttributeError: Factory instance has no __call__ method

2005/02/22 18:53 CET [Channel,371,127.0.0.1] [debug] Client connection closed


No directories were created in /var/cache/apt-proxy and in the
access_log of the apache that hosts my repositories show no access
for the Release and Packages.gz files.


After stopping, installing python-profiler (because python2.3 was
updated yesterday) and restarting apt-proxy.  apt-get update
made no problems and added my repositories happily to
/var/cache/apt-proxy/.  (remember adding marillats ftp repo
made no problem, even with updated python2.3 on disk).


Achim

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages apt-proxy depends on:
ii  bzip2                         1.0.2-1    A high-quality block-sorting file 
ii  debconf                       1.4.30.11  Debian configuration management sy
ii  logrotate                     3.7-2      Log rotation utility
ii  python                        2.3.4-5    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                1.3.0-6    Event-based framework for internet

-- 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