web analytics

Risolviamo l’errore NO_PUBKEY 16126D3A3E5C1192 in Ubuntu 10.10 Maverick

Chi recentemente ha installato la nuova Ubuntu 10.10 Rc avrà notato che quando andiamo ad aggiornare la Distribuzione con

sudo apt-get update

al termine ci segnala il seguente errore:

roberto@roberto-desktop:~$ Lettura elenco dei pacchetti… Errore
W: Errore GPG: http://extras.ubuntu.com maverick Release: Le seguenti firme non sono state verificate perché la chiave pubblica non è disponibile: NO_PUBKEY 16126D3A3E5C1192

Il problema è dovuto alla mancanza della chiave d’autentificazione, per correggere questo spiacevole inconveniente basta avviare il terminale e digitare:

sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 3E5C1192

e ridare

sudo apt-get update

e vedremo che ora sarà tutto corretto.

In alternativa in caso succedesse anche su altri PPA possiamo anche avviare il terminale e digitare:

sudo apt-get update 2> /tmp/keymissing; for key in $(grep “NO_PUBKEY” /tmp/keymissing |sed “s/.*NO_PUBKEY //”); do echo -e “nProcessing key: $key”; gpg –keyserver subkeys.pgp.net –recv $key && gpg –export –armor $key | sudo apt-key add -; done

e confermare