LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-26-2008, 01:36 AM   #1
parent's_basement
Member
 
Registered: Dec 2006
Posts: 111

Rep: Reputation: 16
How to add public keys?


Hello,

When update with aptitude I get:

W: GPG error: http://www.backports.org etch-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EA8E8B2116BA136C
W: You may want to run apt-get update to correct these problems

How would I get the public key for backports.org and add it to my system?

Thx,

pb
 
Old 04-26-2008, 01:49 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Instructions are here http://www.backports.org/dokuwiki/do...d=instructions
 
Old 04-26-2008, 02:00 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Code:
#gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys @@@@@@@@
#gpg --armor --export @@@@@@@@ | apt-key add -
Those two commands work very well, you just have to replace the eight @ symbols with the last eight digits of the key apt said you're missing. In your case they would look like this:
Code:
#gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 16BA136C
#gpg --armor --export 16BA136C | apt-key add -
 
Old 04-26-2008, 02:12 AM   #4
parent's_basement
Member
 
Registered: Dec 2006
Posts: 111

Original Poster
Rep: Reputation: 16
Thanks for the help. I'll try this in the morning. ;-)

-pb
 
Old 04-26-2008, 02:14 AM   #5
parent's_basement
Member
 
Registered: Dec 2006
Posts: 111

Original Poster
Rep: Reputation: 16
BTW- where is the file that these keys are added to?

Thanks Again,

pb
 
Old 04-26-2008, 03:22 AM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Not sure, probably /etc/apt/trusted.gpg
 
Old 05-04-2008, 06:42 AM   #7
txHarleyMan
LQ Newbie
 
Registered: Aug 2007
Location: Texas
Distribution: Debian Testing/Sid
Posts: 28

Rep: Reputation: 15
A nice tool to manage keys is gui-apt-key. # aptitude install gui-apt-key. Then just copy/paste the key in and let it do the work.
 
Old 04-04-2012, 08:27 AM   #8
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,366

Rep: Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106Reputation: 1106
Bump...

I recently encountered this issue when updating Debian and the two-step command sequence shown above worked fine, although the key-server mentioned was not active. (I simply omitted the "--keyserver" bit.) Is there a cleaner, e.g. one-step command to update keys that are missing?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gpg public keys Mahalo Linux - Newbie 1 01-15-2008 08:13 PM
SSH allow public keys only GATTACA Linux - Security 4 11-18-2006 02:34 PM
Public Keys wwnexc Linux - Security 1 03-30-2006 02:56 PM
SSH public keys not working - RH 7.3 menator Linux - Newbie 7 11-03-2005 03:55 AM
YUM requires public keys, how do I get public keys? GNUROCKS Linux - Newbie 3 05-29-2005 08:50 AM


All times are GMT -5. The time now is 04:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration