Debian Bug report logs -
#622272
apt-cacher-ng: should treat InRelease as a volatile file
Reported by: Simon McVittie <smcv@debian.org>
Date: Mon, 11 Apr 2011 16:45:03 UTC
Severity: important
Tags: moreinfo, unreproducible
Fixed in version 0.6-1
Done: Eduard Bloch <edi@gmx.de>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Eduard Bloch <blade@debian.org>:
Bug#622272; Package apt-cacher-ng.
(Mon, 11 Apr 2011 16:45:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Simon McVittie <smcv@debian.org>:
New Bug report received and forwarded. Copy sent to Eduard Bloch <blade@debian.org>.
(Mon, 11 Apr 2011 16:45:10 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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?
S
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt-cacher-ng depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy
ii libbz2-1.0 1.0.5-6 high-quality block-sorting file co
ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib
ii libfuse2 2.8.4-1.3 Filesystem in USErspace library
ii libgcc1 1:4.6.0-2 GCC support library
ii liblzma2 5.0.0-2 XZ-format compression library
ii libstdc++6 4.6.0-2 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages apt-cacher-ng recommends:
ii ed 1.4-3 The classic UNIX line editor
ii perl 5.10.1-19 Larry Wall's Practical Extraction
Versions of packages apt-cacher-ng suggests:
ii doc-base 0.10.1 utilities to manage online documen
-- Configuration Files:
/etc/apt-cacher-ng/acng.conf changed:
CacheDir: /var/cache/apt-cacher-ng
LogDir: /var/log/apt-cacher-ng
Port:3142
BindAddress: 127.0.0.1
Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian
Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu
Remap-debvol: file:debvol_mirror*.gz /debian-volatile ; file:backends_debvol
Remap-cygwin: file:cygwin_mirrors /cygwin # ; file:backends_cygwin # incomplete, please create this file or specify preferred mirrors here
Remap-sfnet: file:sfnet_mirrors # ; file:backends_sfnet # incomplete, please create this file or specify preferred mirrors here
Remap-alxrep: file:archlx_mirrors /archlinux # ; file:backend_archlx # incomplete, please create this file or specify preferred mirrors here
ReportPage: acng-report.html
ExTreshold: 4
VfilePattern = (^|.*?/)(Index|Packages\.bz2|Packages\.gz|Packages|Release|Release\.gpg|InRelease|Sources\.bz2|Sources\.gz|Sources|release|index\.db-.*\.gz|Contents-[^/]*\.gz|pkglist[^/]*\.bz2|rclist[^/]*\.bz2|/meta-release[^/]*|Translation[^/]*\.bz2)$
/etc/apt-cacher-ng/backends_debian changed:
http://www.mirrorservice.org/sites/ftp.debian.org/debian/
http://ftp.uk.debian.org/debian/
/etc/apt-cacher-ng/backends_debvol changed:
http://ftp.uk.debian.org/debian-volatile/
/etc/apt-cacher-ng/security.conf [Errno 13] Permission denied: u'/etc/apt-cacher-ng/security.conf'
-- debconf information:
apt-cacher-ng/gentargetmode: No automated setup
Information forwarded
to debian-bugs-dist@lists.debian.org, Eduard Bloch <blade@debian.org>:
Bug#622272; Package apt-cacher-ng.
(Mon, 11 Apr 2011 20:03:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Eduard Bloch <edi@gmx.de>:
Extra info received and forwarded to list. Copy sent to Eduard Bloch <blade@debian.org>.
(Mon, 11 Apr 2011 20:03:03 GMT) (full text, mbox, link).
Message #10 received at 622272@bugs.debian.org (full text, mbox, reply):
#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.
Information forwarded
to debian-bugs-dist@lists.debian.org, Eduard Bloch <blade@debian.org>:
Bug#622272; Package apt-cacher-ng.
(Tue, 12 Apr 2011 06:45:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to Eduard Bloch <blade@debian.org>.
(Tue, 12 Apr 2011 06:45:03 GMT) (full text, mbox, link).
Message #15 received at 622272@bugs.debian.org (full text, mbox, reply):
On Mon, 11 Apr 2011 at 21:59:40 +0200, Eduard Bloch wrote:
> Are you sure about the Version? Because it should be already there:
I'd assumed that the commented-out VfilePattern in acng.conf was the default,
but the one you quoted below does seem much more complete. Uncommenting it
and adding InRelease did seem to fix this for me, but I'll try with the
default again...
S
Information forwarded
to debian-bugs-dist@lists.debian.org, Eduard Bloch <blade@debian.org>:
Bug#622272; Package apt-cacher-ng.
(Tue, 12 Apr 2011 21:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Eduard Bloch <edi@gmx.de>:
Extra info received and forwarded to list. Copy sent to Eduard Bloch <blade@debian.org>.
(Tue, 12 Apr 2011 21:39:03 GMT) (full text, mbox, link).
Message #20 received at 622272@bugs.debian.org (full text, mbox, reply):
#include <hallo.h>
* Simon McVittie [Tue, Apr 12 2011, 07:33:36AM]:
> On Mon, 11 Apr 2011 at 21:59:40 +0200, Eduard Bloch wrote:
> > Are you sure about the Version? Because it should be already there:
>
> I'd assumed that the commented-out VfilePattern in acng.conf was the default,
> but the one you quoted below does seem much more complete. Uncommenting it
> and adding InRelease did seem to fix this for me, but I'll try with the
> default again...
Now I am really confused. The shown example was made with a default
config. It's definitely the default string from the binary:
$ strings /usr/sbin/apt-cacher-ng | grep InRelease | wc -l
3
Regards,
Eduard.
Information forwarded
to debian-bugs-dist@lists.debian.org, Eduard Bloch <blade@debian.org>:
Bug#622272; Package apt-cacher-ng.
(Wed, 25 May 2011 07:45:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Peter Chubb <peter.chubb@nicta.com.au>:
Extra info received and forwarded to list. Copy sent to Eduard Bloch <blade@debian.org>.
(Wed, 25 May 2011 07:45:04 GMT) (full text, mbox, link).
Message #25 received at 622272@bugs.debian.org (full text, mbox, reply):
I'm seeing what I think is the same problem.
On a client machine:
sudo aptitude update
...
52% [InRelease gpgv 158829] [Waiting for headers] [1 InRelease 70276/135 kB 52%]E: Release file expired, ignoring http://croak:9999/debian/dists/experimental/InRelease (invalid since 2d 10h 40min 42s)
And in the server logs:
Wed May 25 17:02:43 2011|known data hit, don't write to...
Wed May 25 17:02:43 2011|/var/cache/apt-cacher-ng/debrep/dists/unstable/InRelease
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
Information forwarded
to debian-bugs-dist@lists.debian.org, Eduard Bloch <blade@debian.org>:
Bug#622272; Package apt-cacher-ng.
(Wed, 25 May 2011 21:29:36 GMT) (full text, mbox, link).
Acknowledgement sent
to Eduard Bloch <edi@gmx.de>:
Extra info received and forwarded to list. Copy sent to Eduard Bloch <blade@debian.org>.
(Wed, 25 May 2011 21:29:37 GMT) (full text, mbox, link).
Message #30 received at 622272@bugs.debian.org (full text, mbox, reply):
#include <hallo.h>
* Peter Chubb [Wed, May 25 2011, 05:09:23PM]:
>
> I'm seeing what I think is the same problem.
>
> On a client machine:
>
> sudo aptitude update
> ...
> 52% [InRelease gpgv 158829] [Waiting for headers] [1 InRelease 70276/135 kB 52%]E: Release file expired, ignoring http://croak:9999/debian/dists/experimental/InRelease (invalid since 2d 10h 40min 42s)
Is your system clock set correctly? What's in the header of that file if
you download it manually?
> And in the server logs:
>
> Wed May 25 17:02:43 2011|known data hit, don't write to...
> Wed May 25 17:02:43 2011|/var/cache/apt-cacher-ng/debrep/dists/unstable/InRelease
Normal behavior. The upstream mirror was asked to resume a file download
(with date check) and the cached file had the same length and same (or
more recent) date as the remote file.
I still suspect incorrect clock settings on the client or on the proxy
machine, or maybe a bad mirror which is no longer uptodate.
Regards,
Eduard.
Information forwarded
to debian-bugs-dist@lists.debian.org, Eduard Bloch <blade@debian.org>:
Bug#622272; Package apt-cacher-ng.
(Tue, 04 Oct 2011 19:12:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Eduard Bloch <edi@gmx.de>:
Extra info received and forwarded to list. Copy sent to Eduard Bloch <blade@debian.org>.
(Tue, 04 Oct 2011 19:12:03 GMT) (full text, mbox, link).
Message #35 received at 622272@bugs.debian.org (full text, mbox, reply):
tags 622272 + unreproducible moreinfo
thanks
Hello,
can you provide any news on this topic? I consider closing the bug
because AFAICS the support for InRelease is complete.
Regards,
Eduard.
Added tag(s) unreproducible and moreinfo.
Request was from Eduard Bloch <edi@gmx.de>
to control@bugs.debian.org.
(Tue, 04 Oct 2011 19:12:06 GMT) (full text, mbox, link).
Reply sent
to Eduard Bloch <edi@gmx.de>:
You have taken responsibility.
(Sun, 11 Nov 2012 10:12:03 GMT) (full text, mbox, link).
Notification sent
to Simon McVittie <smcv@debian.org>:
Bug acknowledged by developer.
(Sun, 11 Nov 2012 10:12:03 GMT) (full text, mbox, link).
Message #42 received at 622272-done@bugs.debian.org (full text, mbox, reply):
Version: 0.6-1
Since no more information has been provided and all oddities seem to be
explainable, closing with the version that got InRelease support.
Regards,
Eduard.
No longer marked as found in versions apt-cacher-ng/0.6.1-1.
Request was from Eduard Bloch <edi@gmx.de>
to control@bugs.debian.org.
(Sun, 11 Nov 2012 12:21:08 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 10 Dec 2012 07:28:35 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jan 10 09:50:13 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.