|
From: Eric <cr...@my...> - 2004-09-26 02:10:06
|
I'm trying to get v2 up and working on a sarge system. Apt-proxy seems to work right, the "apt-get update" worked through the apt-proxy just fine. When I tried to import the apt archives, this happens:
root@gideon:/# apt-proxy-import -i /var/cache/apt/archives
Updating twisted's process module.
No updating required.
Traceback (most recent call last):
File "/usr/sbin/apt-proxy-import", line 73, in ?
factoryConfig(factory)
File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py", line 125, in factoryConfig
backend = Backend(name, server, factory)
File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 1175, in __init__
packages.AptPackages(self, factory)
File "/usr/lib/python2.3/site-packages/apt_proxy/packages.py", line 117, 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, binar y)
File "/usr/lib/python2.3/anydbm.py", line 83, in open
return mod.open(file, flag, mode)
File "/usr/lib/python2.3/dbhash.py", line 16, in open
return bsddb.hashopen(file, flag, mode)
File "/usr/lib/python2.3/bsddb/__init__.py", line 192, in hashopen
d.open(file, db.DB_HASH, flags, mode)
bsddb._db.DBAccessError: (13, 'Permission denied')
Exception exceptions.AttributeError: "DbfilenameShelf instance has no attribute 'writeback'" in ignored
the twisted version is 1.3.0-3
|