Hallo,
* Laurent Bigonville [Mon, Dec 14 2015, 01:28:29PM]:
> Package: apt-cacher-ng
> Version: 0.8.7-1
> Severity: normal
> 
> Hello,
> 
> With the new appstream package, there is a new apt hook which download
> the appstream data from the debian mirror.
> 
> When apt is set to use apt-cacher-ng, I get a 403 for these .yml.gz
> files.
> 
> I guess these files should be white listed and cached?

Yeah, probably. Not sure how expiration task will cope with them but we
could try following:

echo "VfilePatternEx:.*yml.gz" > /etc/apt-cacher-ng/ymltest.conf
systemctl restart apt-cacher-ng

Please report the result. If it still fails, you could enable the trace
mode (bottom of the admin page) and see which URLs will be reported
there, and tune the regex accordingly (append sth. like "|.*whatever.xz"
to it). Thanks.

Regards,
Eduard.

Reply via email to