Contact me sending an e-mail (antispam defense activated) |
Title: Pkgs - Importare la chiave di un repository Author: Sandro Tosi Last modified: 2006-03-10 Con l'introduzione di apt 0.6 (mi pare), se disponibile, viene effettuato il controllo dei pacchetti, tramite firma crittografica. Cio` puo` portare ad una serie di errori come i seguenti: Reading package lists... Done W: GPG error: http://www.vollstreckernet.de testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D63913EF50D0AE60 W: GPG error: ftp://ftp.nerim.net sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907 W: GPG error: ftp://mirror.switch.ch unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BB5E459A529B8BDA W: You may want to run apt-get update to correct these problems Per eliminare questo messaggio (un po' fastidioso, a dire il vero) si devono usare questi comandi (da root): # gpg --keyserver pgp.mit.edu --recv-keys XXXXXXXX # gpg --armor --export XXXXXXXX | apt-key add - dove al posto di XXXXXXXX si deve sostituire la stringa che segue NO_PUBKEY (possono bastare anche gli ultimi 8 caratteri). Quindi, per importare la chiave del repository di http://www.vollstreckernet.de (per esempio) si eseguira` (sempre come root): # gpg --keyserver pgp.mit.edu --recv-keys D63913EF50D0AE60 # gpg --armor --export D63913EF50D0AE60 | apt-key add - in questo modo la firma dei pacchetti sara` verificabile. |