Mark Hindley writes:
> On Wed, Dec 07, 2016 at 10:06:52AM +0100, Ansgar Burchardt wrote:
>> apt-cacher doesn't allow to download upstream signatures which are
>> part of the source package.  For example, stunnel4 3:5.38-1 from unstable:
>
> Thanks for this.
>
> Could you add this configuration fragment to a file in /etc/apt-cacher/conf.d
> (all on one line, I can't seem to prevent my mailer from wrapping it)
>
> package_files_regexp =
> (?:(?:^|/)[a-z0-9][-+.a-z0-9]*_(?:\d+:)?[0-9][-+:.~a-zA-Z0-9]*(?:_(?:avr32|amd64|alpha|arm|arm64|armel|armhf|hppa|hurd-i386|i386|ia64|kfreebsd-amd64|kfreebsd-i386|m32r|m68k|mips|mipsel|netbsd-alpha|netbsd-i386|powerpc|powerpcspe|ppc64|s390|s390x|sh4|
> sparc|sparc64|x32|all)\.(?:u|d)?deb|\.dsc|\.tar(?:\.gz(?:\.asc)?|\.bz2|\.xz)|\.diff\.gz)|\.rpm|index\.db-.+\.gz|\.jigdo|
> \.template)$

That works for stunnel4, but looks like it only allows *.tar.gz.asc, but
should also allow for *.tar.bz2.asc and *.tar.xz.asc.

Ansgar

Reply via email to