On Thu, 17 Dec 2015 09:52:48 +0100 Laurent Bigonville <bi...@debian.org>
wrote:
> Le 14/12/15 21:30, Laurent Bigonville a écrit :
> > Le 14/12/15 17:24, Eduard Bloch a écrit :

>>> echo "VfilePatternEx:.*yml.gz" > /etc/apt-cacher-ng/ymltest.conf
>>> systemctl restart apt-cacher-ng
>> OK this seems to work.

> Ah well no, it's also downloading an iconpack in tar.gz I think and I'm 
> getting the following error:
> 
> Err:14 http://ftp.nl.debian.org/debian sid/main DEP-11 64x64 Icons
>    Writing more data than expected (7314093 > 7248557)

I thinks this is because apt-cacher-ng thinks all files matching
".tar.gz" are static, because in the past the only files with such an
extension were source files, which don't change in the archive.

I changed the VfilePatternEx like this ...

VfilePatternEx = (.*yml\.gz|icons-[0-9]+x[0-9]+\.tar\.gz)

... and this seem to do the trick.

Grüße,
Sven

Reply via email to