Hallo, * Lisandro Damián Nicanor Pérez Meyer [Tue, Mar 05 2013, 06:10:42PM]: > Package: apt-cacher-ng > Version: 0.7.12-1 > Severity: wishlist > > = What > > Hi! I would like apt-cacher-ng to be able to download an up-to-date > Debian mirror list (possibly every day). > > Of course, this file has to be authenticated in some way. > > = Why > > In Argentina the international bandwith changes a lot, and new mirrors > appear from time to time. Users end up adding those mirrors and, > as they are not listed in the current acng list, they get cached > separately. > > Of course this can be "solved" by reviewing the caches from time to time > and applying filters, but it would be nice to get this more automated.
acng's mirror list is generated by getting the list from http://anonscm.debian.org/viewvc/webwml/webwml/english/mirror/Mirrors.masterlist?view=co and massive probing (fetching index and looking for the validity). This not a perfect solution and it also doesn't consider inofficial mirrors that have never been reported to the FTP masters. If that's ok, feel free to use this functionality. But I would reconsider the daily interval, maybe once a week is enough. Anyhow, the makefile rules can be used like this: get the source, run "make get_deb_input conf/deb_mirrors.gz" inside, and then copy conf/deb_mirrors.gz to /usr/lib/apt-cacher-ng/deb_mirrors.gz . And restart acng afterwards... since no on-the-fly database reloading is implemented yet. The make rules also contain a basic check for changes in the index mentioned above, i.e. the mirror scan doesn't run when nothing has been changed there. Regards, Eduard. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org