LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-18-2009, 10:29 PM   #1
lgp171188
LQ Newbie
 
Registered: Apr 2009
Posts: 16

Rep: Reputation: 0
Adding PPA key to apt


I tried to download and add a PPA key but I get an error like this

Code:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 7613768D
[sudo] password for guru: 
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --recv-keys --keyserver keyserver.ubuntu.com 7613768D
gpg: requesting key 7613768D from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
I am behind a proxy server and firewall. But adding --keyserver-option proxy-server=<proxy server> doesn't work either. Is there a way I can manually do the downloading and adding of the key? I am unable to download the key using gpg as well.
 
Old 08-19-2009, 02:14 AM   #2
everest40
Member
 
Registered: Jul 2008
Distribution: Ubuntu $LATESTVERSION
Posts: 160

Rep: Reputation: 64
Try this, assuming you're using Ubuntu:
  1. In your web browser, go to http://keyserver.ubuntu.com:11371/pk...39676F7613768D
  2. Copy the pgp public key block, including the lines saying "begin pgp public key block" and "end pgp public key block"
  3. Paste it into a text file and save it anywhere.
  4. Open System->Administration->Software Sources, put in your password if asked, and click on the Authentication tab
  5. Press the Import Key File button, select the file you just saved, and press OK

In the future, you can search for keys by directing your browser to http://keyserver.ubuntu.com:11371/
 
  


Reply

Tags
apt, gpg, pgp, ppa, ubuntu


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
apt-key gpg error Free Thinker Linux - Newbie 0 11-18-2007 03:49 PM
SSH: Help needed adding private key thomsky Linux - Security 3 10-21-2006 05:04 PM
can see gpg key in apt-key, still can't update Dan63043 Ubuntu 2 09-25-2006 11:35 AM
apt-key rickenbacherus Debian 2 07-11-2005 02:42 PM
gnome 2.6: adding multi key shortcuts mrgreenfur Linux - Software 1 06-28-2004 05:18 PM


All times are GMT -5. The time now is 04:39 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