|
From: Jon T. <red...@ea...> - 2005-01-24 14:05:33
|
On Monday 24 January 2005 08:24 am, Olivier Bornet wrote:
> ...
> File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line
> 1112, in insert_request log.debug("Serving from cache for additional
> client: " + self.local_file + " size:" + str(self.size))
> exceptions.AttributeError: FetcherFile instance has no attribute 'size'
>
Recently, I saw these when I added a new backend to apt-proxy. As I figured=
=20
out, the problem is ownership of the cached files.
Apt-proxy was creating the backend directory (/var/lib/apt-proxy/{backend})=
=20
with owner root.root instead of aptproxy.nobody. Once I changed ownership o=
f=20
the directory and restarted apt-proxy, everything was fine.
=2D-=20
This email sent with peace, love and Linux.
=2D----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GB d s: a C++ UL++++ P++ L++++ E- W++ N+ o-- K w--=20
O M+ V PS+ PE++ Y+ PGP++ t+ 5 X++ R* tv+ b++ DI++ D---=20
G e h--- r++ y++=20
=2D-----END GEEK CODE BLOCK------
|