deb-mirror - using an expired archive

Zenaan Harkness zen at freedbms.net
Wed Dec 3 02:36:25 UTC 2014


Hi, is there an easy way to use a (local) sid repo which is a few weeks old? :

$ cat /etc/apt/sources.list
deb file:/public/debian/debian sid main contrib non-free
deb-src file:/public/debian/debian sid main contrib non-free

$ grep Date /public/debian/debian/dists/sid/Release
Date: Tue, 25 Nov 2014 20:50:35 UTC

$ sudo apt-get update --allow-unauthenticated
Ign file: sid InRelease
Get:1 file: sid Release.gpg [836 B]
Get:2 file: sid Release [241 kB]
E: Release file for file:/public/debian/debian/dists/sid/Release is
expired (invalid since 5h 40min 52s). Updates for this repository will
not be applied.

$ sudo apt-get --allow-unauthenticated update
Ign file: sid InRelease
Get:1 file: sid Release.gpg [836 B]
Get:2 file: sid Release [241 kB]
E: Release file for file:/public/debian/debian/dists/sid/Release is
expired (invalid since 5h 40min 57s). Updates for this repository will
not be applied.


So now I try and manually edit the Release file and add 1 year to the
expiry date, which is what I used to do and what used to work. This no
longer works:

# add 1 year to sid Release file, then:
$ sudo apt-get update
Ign file: sid InRelease
Get:1 file: sid Release.gpg [836 B]
Get:2 file: sid Release [241 kB]
Err file: sid Release
Reading package lists... Done
W: An error occurred during the signature verification. The repository
is not updated and the previous index files will be used. GPG error:
file: sid Release: The following signatures were invalid: BADSIG
8B48AD6246925553 Debian Archive Automatic Signing Key (7.0/wheezy)
<ftpmaster at debian.org>
W: Failed to fetch file:/public/debian/debian/dists/sid/Release
W: Some index files failed to download. They have been ignored, or old
ones used instead.


Any ideas on a quick fix, like I used to do, so I don't have to wait
for a full mirror update?

TIA
Zenaan



More information about the D-community-offtopic mailing list