Package: apt-proxy
Version: 1.9.29
Severity: important

apt-proxy dies every few days, sometimes while it's in the middle of a large 
update, other times it 
just seems to stop for no reason. I've included a section of the log file 
below, which contains a 
traceback which might be useful. There are however a lot of these tracebacks, 
so they may not be as 
fatal as they appear.


2005/09/08 21:42 BST [Channel,275,192.168.1.3] [debug] Headers: Host: 
sentinel:9999, Connection: 
keep-alive, User-Age
nt: Debian APT-HTTP/1.3
2005/09/08 21:42 BST [Channel,275,192.168.1.3] [debug] Request: GET 
/debian/pool/main/x/xorg-x11/xlibmesa-gl_6.8.2.df
sg.1-6_i386.deb
2005/09/08 21:42 BST [Channel,275,192.168.1.3] [Fetcher.activate] (debian) 
servers:1/debian/pool/main/x/xorg-x11/xlib
mesa-gl_6.8.2.dfsg.1-6_i386.deb
2005/09/08 21:42 BST [Channel,275,192.168.1.3] [file_ok] check_cached: 
/var/cache/apt-proxy/debian/pool/main/x/xorg-x
11/xlibmesa-gl_6.8.2.dfsg.1-6_i386.deb
2005/09/08 21:42 BST [Channel,275,192.168.1.3] [fetch_real] Consulting server 
about 
/var/cache/apt-proxy/debian/pool/
main/x/xorg-x11/xlibmesa-gl_6.8.2.dfsg.1-6_i386.deb
2005/09/08 21:42 BST [Channel,275,192.168.1.3] [Fetcher.activate] (debian) 
servers:1/debian/pool/main/x/xorg-x11/xlib
mesa-gl_6.8.2.dfsg.1-6_i386.deb
2005/09/08 21:42 BST [Channel,275,192.168.1.3] Starting factory 
<apt_proxy.apt_proxy.ClientFactory 
instance at 0x43e4
20cc>
2005/09/08 21:42 BST [Uninitialized] [http_client] 
GET:/debian/pool/main/x/xorg-x11/xlibmesa-gl_6.8.2.dfsg.1-6_i386.d
eb
2005/09/08 21:42 BST [Uninitialized] [http_client] host:ftp.fr.debian.org
2005/09/08 21:42 BST [FetcherHttp,client] [http_client] handleStatus 200 - OK
2005/09/08 21:42 BST [FetcherHttp,client] [Fetcher] Response code: 200 - None
2005/09/08 21:42 BST [FetcherHttp,client] [debug] Received: Date Thu, 08 Sep 
2005 20:42:22 GMT
2005/09/08 21:42 BST [FetcherHttp,client] [debug] Received: Server 
Apache/1.3.31 (Debian GNU/Linux)
2005/09/08 21:42 BST [FetcherHttp,client] [debug] Received: Last-Modified Wed, 
31 Aug 2005 21:02:02 
GMT
2005/09/08 21:42 BST [FetcherHttp,client] [debug] Received: ETag 
"685ee41f-4a7ae-43161aca"
2005/09/08 21:42 BST [FetcherHttp,client] [debug] Received: Accept-Ranges bytes
2005/09/08 21:42 BST [FetcherHttp,client] [debug] Received: Content-Length 
305070
2005/09/08 21:42 BST [FetcherHttp,client] [debug] Received: Connection close
2005/09/08 21:42 BST [FetcherHttp,client] [debug] Received: Content-Type 
application/x-debian-package
2005/09/08 21:42 BST [FetcherHttp,client] [Fetcher] Finished receiving data, 
status:200 saveData:1
2005/09/08 21:42 BST [FetcherHttp,client] Traceback (most recent call last):
          File "/usr/lib/python2.3/site-packages/twisted/application/app.py", 
line 95, in 
runReactorWithLogging
            reactor.run()
          File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", 
line 126, in run
            self.mainLoop()
          File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", 
line 137, in 
mainLoop
            self.doIteration(t)
          File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", 
line 526, in 
doSelect
            _logrun(selectable, _drdw, selectable, method, dict)
        --- <exception caught here> ---
          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)
          File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", 
line 549, in 
_doReadOrWrite
            selectable.connectionLost(f)
          File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 
447, in 
connectionLost
            Connection.connectionLost(self, reason)
          File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 
294, in 
connectionLost
            protocol.connectionLost(reason)
          File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", 
line 361, in 
connectionLost
            self.handleResponseEnd()
          File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", 
line 367, in 
handleResponseEnd
            self.handleResponse(b)
          File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 
631, in 
handleResponse
            self.apDataEnd(self.transfered, True)
          File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 
389, in apDataEnd
            
self.request.backend.get_packages_db().packages_file(self.request.uri)
          File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 
1222, in 
get_packages_db
            self.packages = packages.AptPackages(self, self.factory)
          File "/usr/lib/python2.3/site-packages/apt_proxy/packages.py", line 
116, in __init__
            self.packages = shelve.open(self.status_dir+'/'+'packages.db')
          File "/usr/lib/python2.3/shelve.py", line 231, in open
            return DbfilenameShelf(filename, flag, protocol, writeback, binary)
          File "/usr/lib/python2.3/shelve.py", line 212, in __init__
            Shelf.__init__(self, anydbm.open(filename, flag), protocol, 
writeback, binary)
          File "/usr/lib/python2.3/anydbm.py", line 80, in open
            raise error, "db type could not be determined"
        anydbm.error: db type could not be determined
        
2005/09/08 21:42 BST [Channel,275,192.168.1.3] [Fetcher] Last request removed
2005/09/08 21:42 BST [Channel,275,192.168.1.3] [Fetcher] telling the transport 
to loseConnection
2005/09/08 21:42 BST [Channel,275,192.168.1.3] [debug] Client connection closed
2005/09/08 21:42 BST [Channel,275,192.168.1.3] Top 10:


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apt-proxy depends on:
ii  bzip2                         1.0.2-7    high-quality block-sorting file co
ii  debconf                       1.4.30.13  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                1.3.0-8    Event-based framework for internet
ii  python2.3                     2.3.5-3    An interactive high-level object-o

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