Description of problem: out of the box, the apt-cacher-ng service does not seem to do anything. The upstream package has a configuration file: /etc/apt-cache-ng/acng.conf, which is not in the rpm. Inter alia, this means that packages don't seem to be cached and the log files are in /var/tmp/apt-cacher-ng.{err,log} Dropping in the default acng.conf from upstream seems to make this work. It could be that I'm not exercising an expected usecase, but I've not found any documentation to help understand where the config file's gone. I'm trying to use apt-cache-ng to cache the packages downloaded for build a raspberrypi image from (http://bit.ly/2uelq0D). Version-Release number of selected component (if applicable): apt-cacher-ng-0.9.0-1.fc24.x86_64 (on f25) How reproducible: Steps to Reproduce: 1. on f25 box, clone the repo http://bit.ly/2uelq0D 2. ensure that apt-cacher-ng and any other dependencies are installed and the service is running 3. cd pi-gen, add in the cache to config: IMG_NAME='Raspian' APT_PROXY='http://<ip to this host>:3142' 4. ./build-docker.sh Actual results: The raspberry pi images are built, but the .deb packages are not cached in /var/cache/apt-cacher-ng Expected results: The raspberry pi images are built and the .deb packages are cached in: /var/cache/apt-cacher-ng/{archive.raspberrypi.org,mirrordirector.raspbian.org} Additional info: Dropping in default acng.conf (eg: http://bit.ly/2tGi4Xp) into /etc/apt-cacher-ng/, causes the expected behaviour. afaict, the configuration file disappeared between v 0.8.3 and 0.8.8, but it's still in the upstream code. I do not see how this rpm has worked for some time (but I could be wrong)
apt-cacher-ng-3-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5ee6ce91fa
Thank you so much for the report, Tim. I fixed and built the packages. If you like, you can test it from here: f26 https://bodhi.fedoraproject.org/updates/FEDORA-2017-5ee6ce91fa f25 https://bodhi.fedoraproject.org/updates/FEDORA-2017-c252ad0237 f24 https://bodhi.fedoraproject.org/updates/FEDORA-2017-3ac2f958d3 epel7 https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-5d0a7f18cc
apt-cacher-ng-3-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5ee6ce91fa
apt-cacher-ng-3-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-5d0a7f18cc
apt-cacher-ng-3-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c252ad0237
apt-cacher-ng-3-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3ac2f958d3
(In reply to Kenjiro Nakayama from comment #2) > Thank you so much for the report, Tim. I fixed and built the packages. If > you like, you can test it from here: > > f26 https://bodhi.fedoraproject.org/updates/FEDORA-2017-5ee6ce91fa > f25 https://bodhi.fedoraproject.org/updates/FEDORA-2017-c252ad0237 > f24 https://bodhi.fedoraproject.org/updates/FEDORA-2017-3ac2f958d3 > epel7 https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-5d0a7f18cc afaict, the f25 package seems to be working. I'll keep reviewing. I note that the listening port is commented out in /etc/apr-cacher-ng/acng.conf, but the service listens on the expected port in any case. Is there a smoke test to confirm that rpm's install all relevant config files, or to run the cache against some specific urls /mirrors to confirm that it's doing its job? I can see that such tests could be flakey as they may include external urls. There do seem to be a few noise items in the build logs (missing symlinks that look like they're debian specific), and even some Errors, which I'd have thought could fail the build.
apt-cacher-ng-3-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
> afaict, the f25 package seems to be working. I'll keep reviewing. I note that the listening port is commented out in /etc/apr-cacher-ng/acng.conf, but the service listens on the expected port in any case. Yes, Port:3142 could be used by default without the configuration. FYI regarding another config, when I tested apt-cacher-ng, it was necessary to modify "PassThroughPattern". I wondered if I should have configured it on default package, but I leave it. > Is there a smoke test to confirm that rpm's install all relevant config files, or to run the cache against some specific urls /mirrors to confirm that it's doing its job? I can see that such tests could be flakey as they may include external urls. No, I haven't. I will make it soon.
apt-cacher-ng-3-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
apt-cacher-ng-3-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
apt-cacher-ng-3-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.