Come importare automaticamente le chiavi GPG mancanti in Ubuntu

Come importare automaticamente le chiavi GPG mancanti in Ubuntu
Come importare automaticamente le chiavi GPG mancanti in Ubuntu

Video: Come importare automaticamente le chiavi GPG mancanti in Ubuntu

Video: Come importare automaticamente le chiavi GPG mancanti in Ubuntu
Video: 🔴 PHOTO EXPRESSVIEWER: TOP DIGITAL ASSET MANAGEMENT SOFTWARE, PHOTO VIEWER, ADOBE BRIDGE ALTERNATIVE - YouTube 2024, Marzo
Anonim
Se mancano le chiavi GPG, si otterrà un errore come quello sopra nello screenshot se si utilizza il Gestore pacchetti Synaptic e uno simile se si utilizza il terminale. "Launchpad-getkeys" è uno script che importa automaticamente queste chiavi mancanti.
Se mancano le chiavi GPG, si otterrà un errore come quello sopra nello screenshot se si utilizza il Gestore pacchetti Synaptic e uno simile se si utilizza il terminale. "Launchpad-getkeys" è uno script che importa automaticamente queste chiavi mancanti.

Quando aggiungi PPA a Ubuntu tramite "apt-add-repository", il PPA e la sua chiave verranno importati. Queste chiavi GPG sono un modo per verificare i pacchetti in quel PPA. Ma se aggiungi un PPA quando il server delle chiavi di Ubuntu è inattivo, la chiave non verrà importata e il PPA produrrà un errore ogni volta che proverai ad aggiornare i tuoi pacchetti. L'utente di Ubuntu Forum (blackgr) ha creato uno script chiamato "launchpad-getkeys" che importerà automaticamente tutte le chiavi mancanti. Per ottenere questo script sul tuo computer, digita questi comandi in un terminale e premi "Invio" dopo ogni riga.

sudo apt-add-repository ppa:nilarimogard/webupd8

sudo apt-get update

sudo apt-get install launchpad-getkeys

Launchpad-getkeys è ora installato. Per importare le chiavi, esegui semplicemente:

sudo Launchpad-getkeys

Consigliato: