On Thu, Apr 21, 2016 at 06:48:57PM +0200, [email protected] wrote:
> added the line with index_files_regexp to /etc/apt-cacher/conf.d/local.conf
> as a workaround and executed
> $ service apt-cacher restart
>
> Then several
> $ apt-get update
> delivered error messages like
> W: The repository 'http://ftp.de.debian.org/debian testing Release' does not
> have a Release file.
> N: Data from such a repository can't be authenticated and is therefore
> potentially dangerous to use.
> N: See apt-secure(8) manpage for repository creation and user configuration
> details.
This seems unrelated. Are you sure the index_files_regexp is correct? It should
be a single line. Alternatively you can these two lines to
/usr/share/apt-cacher/lib/apt-cacher.pl
--- a/lib/apt-cacher.pl
+++ b/lib/apt-cacher.pl
@@ -142,6 +143,8 @@ sub read_config {
InRelease
Contents-(?:[a-z]+-)?[a-zA-Z0-9]+\.gz
(?:srclist|pkglist)\.[a-z-]+\.bz2
+
Components-%VALID_ARCHS%\.yml\.(?:x|g)z
+
icons-(64|128)x\g{-1}\.tar\.gz
),
# This needs to be a
separate item to avoid a warning from the
# comma within qw()
> After commenting out
> Acquire::http::proxy "http://mycomp:3142";
> and removing all files from /var/lib/apt/lists
> apt-get update did its work as desired. After enabiling the proxy again in apt
> settings, apt-get update currently (now updates available) runs through
> without error messages.
So, that sounds like a fix to me?
Or am I missing something?
Thanks
Mark