Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-18-2009, 10:29 PM   #1
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

sudo apt-key adv --recv-keys --keyserver 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 7613768D
gpg: requesting key 7613768D from hkp server
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
Registered: Jul 2008
Distribution: Ubuntu $LATESTVERSION
Posts: 168

Rep: Reputation: 68
Try this, assuming you're using Ubuntu:
  1. In your web browser, go to
  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


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 1 09-04-2015 02:37 AM
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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:03 AM.

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