gnupg, apt-get und die Uhrzeit
Beim Installieren von Debian etch auf einem Linksys NSLU2 ist mir heute folgendes Problem untergekommen:
slug:~# apt-get update [..] Fetched 99.3kB in 6s (15.8kB/s) Reading package lists... Done W: GPG error: http://ftp.at.debian.org etch Release: Unknown error executing gpgv W: GPG error: http://security.debian.org etch/updates Release: Unknown error executing gpgv W: You may want to run apt-get update to correct these problems
Nach einigem Suchen dann in /etc/apt/trusted.gpg der Loesungshinweis:
slug:~# gpg --list-keys --keyring /etc/apt/trusted.gpg /etc/apt/trusted.gpg -------------------- gpg: key 1DB114E0 was created 121789778 seconds in the future (time warp or clock problem) pub 1024R/1DB114E0 2004-01-15 uid Debian Archive Automatic Signing Key (2004) gpg: key 4F368D5D was created 154745192 seconds in the future (time warp or clock problem) gpg: key 4F368D5D was created 154745192 seconds in the future (time warp or clock problem) pub 1024D/4F368D5D 2005-01-31 uid Debian Archive Automatic Signing Key (2005) gpg: key B5F5BBED was created 161957931 seconds in the future (time warp or clock problem) gpg: key B5F5BBED was created 161957931 seconds in the future (time warp or clock problem) pub 1024D/B5F5BBED 2005-04-24 uid Debian AMD64 Archive Key sub 2048g/34FC6FE5 2005-04-24 gpg: key 2D230C5F was created 183883027 seconds in the future (time warp or clock problem) gpg: key 2D230C5F was created 183883027 seconds in the future (time warp or clock problem) pub 1024D/2D230C5F 2006-01-03 uid Debian Archive Automatic Signing Key (2006) gpg: key 6070D3A1 was created 211625927 seconds in the future (time warp or clock problem) pub 1024D/6070D3A1 2006-11-20 uid Debian Archive Automatic Signing Key (4.0/etch)
D.h. die GPG-Keys wurden wg. des noch falsch eingestellten Datums nicht akzeptiert. Abhilfe war nun einfach:
slug:~# date --set="2006-12-19 17:08" Tue Dec 19 17:08:00 CET 2006 slug:~# gpg --list-keys --keyring /etc/apt/trusted.gpg /etc/apt/trusted.gpg -------------------- [..] pub 1024D/2D230C5F 2006-01-03 [expires: 2007-02-07] uid Debian Archive Automatic Signing Key (2006) pub 1024D/6070D3A1 2006-11-20 [expires: 2009-07-01] uid Debian Archive Automatic Signing Key (4.0/etch) slug:~# apt-get update [..] Fetched 567B in 6s (94B/s) Reading package lists... Done slug:~#
- Tags:
