Package: apt-cacher-ng Version: 0.6.12-1 Severity: wishlist Hi,
I use debmirror to keep partial local mirrors (i.e. only some components) of Debian and Ubuntu, which I've been maintaining for years. I know apt-cacher-ng can do this kind of thing as well, but (a) I already have this, (b) I like having things pre-downloaded overnight, and (c) I rather like being able to run searches and statistics over the components I mirror rather than having to first ask apt-cacher-ng to download all the files. However, recently I had cause to set up apt-cacher-ng, because I was working with an upgrade test suite where it's difficult to get it to use a local mirror. What I really wanted was to be able to say "use files from the local mirror if they're there, otherwise fall back to gb.archive.ubuntu.com". However, apt-cacher-ng seems to be all or nothing: if it sees a 404 from the first backend, it returns that to the client immediately, so there's no way to get it to fall back to a later backend in the case that an earlier one is missing some files. I'd like to be able to annotate a backend as partial, meaning that apt-cacher-ng would respond to a 404 from that backend by trying the next backend in the list. Would that be possible? (I sorted out my immediate problem by importing the relevant files from my local mirror into apt-cacher-ng's cache. This more or less works but is rather clunky.) Thanks, -- Colin Watson [[email protected]] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

