Hi Mark,

On Wed, 2016 Apr 27 13:03+0100, Mark Hindley wrote:
> 
> Thanks. I think this is a duplicate of #821159. I gave an updated
> index_files_regexp config that the OP suggested meybe the fix
> (although I wasn't completely sure of his response). Could you
> try that.
>
> I notice that your apt-get trace has some additional SHA1 filenames,
> that I wasn't expecting, so the #821159 may be incomplete.
I tested your proposed fix to lib/apt-cacher.pl in that bug report. Two
changes are needed:

  1. SHA files, and

  2. icons tarballs can be .xz-compressed.

So with

  Components-%VALID_ARCHS%\.yml\.(?:x|g)z
  icons-(64|128)x\g{-1}\.tar\.(?:x|g)z
  [0-9a-f]{64}

the Ubuntu Xenial system updates cleanly.

(Might be good to match the path prefix of the SHA files, since the
basename pattern is a wee bit open-ended...)

Reply via email to