Package: snapshot.debian.org Followup-For: Bug #821333 Please find a patch attached. Thanks for the really useful service.
Cheers Jochen
>From 263d34e0b8abf7d06b16242672c6d37b179b7503 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof <[email protected]> Date: Wed, 4 Jan 2017 14:30:29 +0100 Subject: [PATCH] Use check-valid-until option in source --- web/app/snapshot/templates/description.mako | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/web/app/snapshot/templates/description.mako b/web/app/snapshot/templates/description.mako index db3495a..5c1dc72 100644 --- a/web/app/snapshot/templates/description.mako +++ b/web/app/snapshot/templates/description.mako @@ -54,10 +54,10 @@ If you want to add a specific date's archive to your apt <code>sources.list</cod add an entry like these: </p> <pre> -deb <a href="/archive/debian/20091004T111800Z/">http://snapshot.debian.org/archive/debian/20091004T111800Z/</a> lenny main -deb-src <a href="/archive/debian/20091004T111800Z/">http://snapshot.debian.org/archive/debian/20091004T111800Z/</a> lenny main -deb <a href="/archive/debian-security/20091004T121501Z/">http://snapshot.debian.org/archive/debian-security/20091004T121501Z/</a> lenny/updates main -deb-src <a href="/archive/debian-security/20091004T121501Z/">http://snapshot.debian.org/archive/debian-security/20091004T121501Z/</a> lenny/updates main +deb [check-valid-until=no] <a href="/archive/debian/20091004T111800Z/">http://snapshot.debian.org/archive/debian/20091004T111800Z/</a> lenny main +deb-src [check-valid-until=no] <a href="/archive/debian/20091004T111800Z/">http://snapshot.debian.org/archive/debian/20091004T111800Z/</a> lenny main +deb [check-valid-until=no] <a href="/archive/debian-security/20091004T121501Z/">http://snapshot.debian.org/archive/debian-security/20091004T121501Z/</a> lenny/updates main +deb-src [check-valid-until=no] <a href="/archive/debian-security/20091004T121501Z/">http://snapshot.debian.org/archive/debian-security/20091004T121501Z/</a> lenny/updates main </pre> <p> To learn which snapshots exist, i.e. which date strings are valid, simply @@ -69,9 +69,7 @@ available timestamp which is before the time you specified. <p> To access snapshots of suites using Valid-Until that are older than a dozen days, it is necessary to ignore the Valid-Until header within Release files, in order -to prevent apt from disregarding snapshot entries ("Release file expired"). Use -<code>aptitude -o Acquire::Check-Valid-Until=false update</code> or -<code>apt-get -o Acquire::Check-Valid-Until=false update</code> for this purpose. +to prevent apt from disregarding snapshot entries ("Release file expired"). </p> <p style="margin-top:2em;"> -- 2.11.0
