Update Missing GPG Keys

nolarut
  9 years ago
  6

Copy and paste into the terminal:

$ 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

Comments
ronaldo_fix 9 years ago

ya lo aplique pero igual me sigue saliente este error

--------------------------------------------------------------
W: Error de GPG: http://archive.ubuntu.com maverick Release Las siguientes firms fueron inválidas: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key
W: Error de GPG: http://ppa.launchpad.net maverick Release Las siguientes firms fueron inválidas: BADSIG 6AF0E1940624A220 Launchpad PPA for TualatriX
--------------------------------------------------------------


weirdpercent 9 years ago

I had previously used the launchpad-update script featured on webupd8.org, but it didn't really work for Linux Mint. This solution seems much more succinct. Bravo!

Here's the script I referred to earlier http://linkpot.net/tonne/