Solve missing gpg key error

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
Blackwolf*

Solve missing gpg key error

Post by Blackwolf* »

Solve missing gpg key error ie: W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 778978B00F7992B0
W: You may want to run apt-get update to correct these problems


I made a perl script that:
- Can detect and fix any launchpad PPA link in /etc/apt/sources.list
- Backs up the original /etc/apt/sources.list as /etc/apt/sources.list.backup
- Imports GPG keys for the links detected in /etc/apt/sources.list

Requirements:
- Administrative privileges
- Perl
- Internet connection
- HTML::Parser


Open a terminal Applications>accesories>terminal & paste this

Select all text in blue
sudo apt-get install libhtml-parser-perl

mkdir gpg-fix && cd gpg-fix

wget http://savvas.radevic.com/launchpad/change.tar.gz -O change.tar.gz

tar xzvf change.tar.gz

perl ./*.pl

cd ..

rm -Rf gpg-fix

sudo apt-get update
( wait for a while while it gets the keys ) coffee yum ;) ....then press enter when it shows apt get update ;) <BREW> ;)
Muzer

Re: Solve missing gpg key error

Post by Muzer »

You also need libio-socket-ssl-perl
Post Reply

Return to “Tutorials”