Message: previous - next
Month: April 2015

Re: [trinity-users] gpg keys missing, how to fix?

From: Nick Koretsky <nick_koretsky@...>
Date: Thu, 16 Apr 2015 17:31:43 +0300
On Thu, 16 Apr 2015 09:41:12 -0400
Gene Heskett <gheskett@...> wrote:

> Whenever I do a package-manager or synaptic refresh, I am getting a 
> squawk about missing keys, specifically about a mozilla update from 
> wheezy-backports.
> And I just discovered that this error window can now be highlighted for a 
> copy/paste, the lack of which I have silently bitched about for years.  
> Whoever fixed that I owe a case of suds to, hold up ypur hand and 
> identify yourself.  Thank you very much.
> So here is the error message from synaptic:
> =======
> W: GPG error: wheezy-backports Release: The 
> following signatures couldn't be verified because the public key is not 
> available: NO_PUBKEY 85A3D26506C4AE2A
> W: A error occurred during the signature verification. The repository is 
> not updated and the previous index files will be used. GPG error: 
> wheezy-updates Release: The following signatures 
> were invalid: BADSIG 8B48AD6246925553 Debian Archive Automatic Signing 
> Key (7.0/wheezy) <ftpmaster@...>
> W: Failed to fetch  
> Unable to find expected entry 'updates/binary-i386/Packages' in Release 
> file (Wrong sources.list entry or malformed file)
> W: Failed to fetch 
> W: Some index files failed to download. They have been ignored, or old 
> ones used instead.
> ==========
> Looks like I am missing 2 gpg sigs then.
> I assume there is an apt-get or apt-key command that I can invoke, but 
> I'll be dipped if I can remember how it works.
> Can someone show me the cli command?

gpg --keyserver --recv-key  KEY      
gpg -a --export KEY | sudo apt-key add -

  Nick Koretsky (nick.koretsky@...)