|
APT-GET
|
||
|---|---|---|
Parfois, on rencontre un problème avec la commande apt-get sous Debian, parce que la clef
qui permet de vérifier si les paquets que l'on télécharge sont bien authentique a changée et
n'est plus reconnue par le système. Voila ce qu'il faut faire pour régler le "problème". Bien
entendu, modifiez en fonction de la clef qu'il vous manque.
# apt-get update [...] Reading package lists... Done W: GPG error: http://ftp.fr.debian.org etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B W: GPG error: http://security.debian.org etch/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B W: You may want to run apt-get update to correct these problems $ gpg --keyserver pgpkeys.mit.edu --recv-key 9AA38DCD55BE302B gpg: directory `/home/user/.gnupg' created gpg: can't open `/gnupg/options.skel': No such file or directory gpg: keyring `/home/user/.gnupg/secring.gpg' created gpg: keyring `/home/user/.gnupg/pubring.gpg' created gpg: requesting key 55BE302B from hkp server pgpkeys.mit.edu gpg: /home/user/.gnupg/trustdb.gpg: trustdb created gpg: key 55BE302B: public key "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) $ gpg -a --export 9AA38DCD55BE302B | sudo apt-key add - OK # apt-get update [...] Reading package lists... DoneDernière modification le 10/07/2009 |