martedì 10 maggio 2011

Ubuntu: risolvere i problemi con le chiavi (keys) in un istante!

Quante volte vi è capitato che un repository particolare vi dia problemi con le chiavi? Ossia, quando aggiornate i repository (il classico apt-get update per intenderci...) ottenete errori del tipo:
W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B2DFD25316B94077
W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1FFD34C9EB13C954
W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EF4186FE247510BE
Per risolvere questo fastidioso problema "in toto" esiste un semplicissimo ma utilissimo programma che fixerà automaticamente tutte gli eventuali problemi con le chiavi che ci si presenteranno. Si tratta di Launchpad-Getkeys, vediamo come installarlo e usarlo.
Da terminale digitiamo:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install launchpad-getkeys
Adesso ogni volta che vogliamo fixare errori con le chiavi ci basterà digitare in un terminale:
sudo launchpad-getkeys
e tutto tornerà magicamente a posto!

Nessun commento:

Posta un commento