#include <hallo.h>
* Simon McVittie [Mon, Apr 11 2011, 05:37:17PM]:
> Package: apt-cacher-ng
> Version: 0.6.1-1
> Severity: important
> 
> Recent versions of apt prefer to download a clear-signed Release file,
> "InRelease", instead of the combination of Release and Release.gpg. This
> results in hash-matching failures, when acng returns a cached InRelease and a
> fresh Packages/Sources. Adding it to my VfilePattern seems to fix this.
> 
> It would perhaps be better to treat all unknown files as volatile, in fact?

Are you sure about the Version? Because it should be already there:

$ /usr/sbin/apt-cacher-ng debug=20 2>&1 | grep InRelease
VfilePattern = 
(^|.*?/)(Index|Packages(\.gz|\.bz2|\.lzma|\.xz)?|InRelease|Release|Release\.gpg|Sources(\.gz|\.bz2|\.lzma|\.xz)?|release|index\.db-.*\.gz|Contents-[^/]*(\.gz|\.bz2|\.lzma|\.xz)|pkglist[^/]*\.bz2|rclist[^/]*\.bz2|/meta-release[^/]*|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)|MD5SUMS|SHA1SUMS|((setup|setup-legacy)(\.ini|\.bz2|\.hint)(\.sig)?)|mirrors\.lst|repo(index|md)\.xml(\.asc|\.key)?|directory\.yast|products|content(\.asc|\.key)?|media|packages\.[a-zA-Z][a-zA-Z]\.gz|info\.txt|license\.tar\.gz|license\.zip|.*\.db\.tar\.gz|.*\.files\.tar\.gz|.*\.abs\.tar\.gz)$|/dists/.*/installer-[^/]+/[^0-9][^/]+/images/.*
WfilePattern = 
(^|.*?/)(Release|InRelease|Release\.gpg|(Packages|Sources)(\.gz|\.bz2|\.lzma|\.xz)?|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)|MD5SUMS|SHA1SUMS|.*\.xml|.*\.db\.tar\.gz|.*\.files\.tar\.gz|.*\.abs\.tar\.gz|[a-z]+32.exe)$|/dists/.*/installer-.*/images/.*
VfilePattern = 
(^|.*?/)(Index|Packages(\\.gz|\\.bz2|\\.lzma|\\.xz)?|InRelease|Release|Release\\.gpg|Sources(\\.gz|\\.bz2|\\.lzma|\\.xz)?|release|index\\.db-.*\\.gz|Contents-[^/]*(\\.gz|\\.bz2|\\.lzma|\\.xz)|pkglist[^/]*\\.bz2|rclist[^/]*\\.bz2|/meta-release[^/]*|Translation[^/]*(\\.gz|\\.bz2|\\.lzma|\\.xz)|MD5SUMS|SHA1SUMS|((setup|setup-legacy)(\\.ini|\\.bz2|\\.hint)(\\.sig)?)|mirrors\\.lst|repo(index|md)\\.xml(\\.asc|\\.key)?|directory\\.yast|products|content(\\.asc|\\.key)?|media|packages\\.[a-zA-Z][a-zA-Z]\\.gz|info\\.txt|license\\.tar\\.gz|license\\.zip|.*\\.db\\.tar\\.gz|.*\\.files\\.tar\\.gz|.*\\.abs\\.tar\\.gz)$|/dists/.*/installer-[^/]+/[^0-9][^/]+/images/.*
WfilePattern = 
(^|.*?/)(Release|InRelease|Release\\.gpg|(Packages|Sources)(\\.gz|\\.bz2|\\.lzma|\\.xz)?|Translation[^/]*(\\.gz|\\.bz2|\\.lzma|\\.xz)|MD5SUMS|SHA1SUMS|.*\\.xml|.*\\.db\\.tar\\.gz|.*\\.files\\.tar\\.gz|.*\\.abs\\.tar\\.gz|[a-z]+32.exe)$|/dists/.*/installer-.*/images/.*

Regards,
Eduard.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to