From: Chris H. <ha...@de...> - 2005-02-25 23:21:34
|
On Tuesday 22 Feb 2005 23:04, David Balch wrote: > AttributeError: DummyFactory instance has no attribute 'addBackend' > > What would be the best way of getting a-p running? > 1) Some fix for a-p 1.9.x (I don't know any Python but should be able > to have a stab at it) I've uploaded 1.9.27 which fixes this among other bugs. I noticed there is still a bug which is making a-p-i not work immediately. If your databases were recreated for some reason, and then you run apt-get update yet there are no new Packages file, they will not get registered in the database and a-p-i will not be able to search them to find out where to place the packages. You will get the message 'No suitable backend found'. Solutions: 1. Wait for a day until an apt-get update gets new Packages or 2. Delete all the Packages files: sudo rm -rf /var/cache/apt-proxy/debian/dists ..and then rerun apt-get update (not tested) Chris |