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:
sudo Launchpad-getkeys
As launchpad-getkeys says, you shouldn’t see any key errors anymore.
- › What’s New in Windows 11’s 22H2 Update: Top 10 New Features
- › How Much Does It Cost to Operate an Electric Lawn Mower?
- › Does Hibernating My PC Save More Energy Than Sleep?
- › What Are the Best Nintendo Switch Games in 2022?
- › Don’t Put Your TV Over Your Fireplace
- › Picsart Gold Review: A True Treasure for Quick Photo and Video Editing