sameersbn / docker-apt-cacher-ng

Dockerfile to create a Docker container image for Apt-Cacher NG
MIT License
206 stars 71 forks source link

precaching #30

Open teddue opened 3 years ago

teddue commented 3 years ago

When I try to enable active mirroring I always get the following error:

Maintenance task Archive Mirroring, apt-cacher-ng version: 3.3.1 (Cancel)
PrecacheFor not set, check configuration!

I cannot find a config file within the /config folder

AlpacasSayQuack commented 1 year ago

You need to set the PrecacheFor: variable in the /etc/apt-cacher-ng/acng.conf file.

PrecacheFor: {uburep,secdeb,debrep}//{Packages,InRelease,Packages.xz,Translation,Commands}*

yodaphone commented 5 months ago

Hi, I know this is kinda old, but my conf file has this enabled, but i still get the error message. other than that the caching wroks just fine, any idea what i'm doing wrong?