Ubuntu/Debian: Fix NO_PUBKEY Error For The Repositories

0

I constantly get annoyed when I add a new repository and get for example an:

GPG error: http://archive.getdeb.net oneiric-getdeb Release: The following
signatures couldn't be verified because the public key is not available:
NO_PUBKEY A8A515F046D7E7CF

If you are good you have anywhere handy the command:

wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

to add the key for the particular repository. I rarely am that good so I have to run:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A8A515F046D7E7CF

And off I go…

Leave a Reply