If you have missing GPG keys you’ll get an error like the one above in the screenshot if you are using Synaptic Package Manager and a similar one if you use the terminal. “Launchpad-getkeys” is a script that imports these missing keys automatically.
When adding PPAs to Ubuntu via “apt-add-repository” the PPA and its key will be imported. These GPG keys are a way to verify the packages in that PPA. But if you add a PPA when the Ubuntu key server is down the key will not be imported and the PPA will produce an error every time you try refreshing your packages. Ubuntu Forums user (blackgr) created a script called “launchpad-getkeys” that will import all missing keys automatically. To get this script on your computer, type these commands in a terminal and hit “Enter” after every line.
sudo apt-add-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install launchpad-getkeys
Launchpad-getkeys is now installed. To import keys, just run:
As launchpad-getkeys says, you shouldn’t see any key errors anymore.
- › Grab an Anker 65W USB-C Charger for Just $35 Today
- › The New Kubuntu XE Could Be the Linux Laptop for You
- › ASUS’s Super Silent RTX 4080 is Now on Sale
- › YouTube Music vs. Spotify: Which Is Better for Streaming?
- › ChatGPT Can Now Surf the Web With Plugins
- › Roku’s New Smart TVs Are Already on Sale, Starting at $120