LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-19-2017, 10:09 PM   #1
UbuntuconLeche
LQ Newbie
 
Registered: Apr 2017
Posts: 23

Rep: Reputation: Disabled
gpg key not found when attempting to install Tor Browser


I am trying to install Tor on Ubuntu 16.04(Xenial Xerus). These are the instructions from the Tor website: https://www.torproject.org/docs/debian.html.en

I added the repos to /etc/apt/sources.list. the problem comes in when I try to retrieve the gpg key to sign the packages. I ran this:

Code:
gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
I get this output in the terminal

Code:
gpg: requesting key 886DDD89 from hkp server keys.gnupg.net
?: keys.gnupg.net: Host not found
gpgkeys: HTTP fetch error 7: couldn't connect: Success
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver unreachable
gpg: keyserver communications error: public key not found
gpg: keyserver receive failed: public key not found
I really cannot find any recent help requests from someone trying to install Tor on Ubuntu. This leads me to believe that the only way to get Tor is through Debian or other OSes that use the Debian repositories. Would running the application through a VM still be as secure?
 
Old 05-20-2017, 02:36 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,256
Blog Entries: 10

Rep: Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160
Quote:
Originally Posted by UbuntuconLeche View Post
?: keys.gnupg.net: Host not found
i just tried the url and it does connect.
maybe it was temporarily unreachable?
 
Old 05-20-2017, 08:10 AM   #3
UbuntuconLeche
LQ Newbie
 
Registered: Apr 2017
Posts: 23

Original Poster
Rep: Reputation: Disabled
I don't know if that's a joke from my last post that was more convuluted. But even though it sounds like it is down from that line; There is also this line:

Code:
gpg: keyserver communications error: public key not found
I interpret this as the server that contains the key is down; However the site is still in working order.
 
Old 05-20-2017, 08:11 AM   #4
UbuntuconLeche
LQ Newbie
 
Registered: Apr 2017
Posts: 23

Original Poster
Rep: Reputation: Disabled
Either that or there is a command I am supposed to run prior to the one listed above.
 
Old 05-20-2017, 11:28 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,256
Blog Entries: 10

Rep: Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160
why is this marked solved? please share your solution.

anyhow, i just tried that command on Xubuntu 14.04 and it worked.
you didn't try it as root i hope?
 
Old 05-20-2017, 11:34 AM   #6
UbuntuconLeche
LQ Newbie
 
Registered: Apr 2017
Posts: 23

Original Poster
Rep: Reputation: Disabled
I was able to receive the key. I use a VPN which made installing Tor more difficult. All I had to do was run
Code:
host keys.gnupg.net
That gave me the actual address of pool.sks-keyservers.net. Then I substituted:

Code:
gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
For:

[code]gpg --keyserver pool.sks-keyservers.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89

And I was able to do it without disabling the VPN. Always a plus.
 
1 members found this post helpful.
  


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
customization ubuntu 16.04 iso , gpg public key not found error gbcbooks Linux - General 3 03-19-2017 11:04 PM
[SOLVED] gpg - Can't check signature: public key not found when decrypting file ilesterg Linux - Security 3 02-12-2014 09:52 AM
gpg: public key not found verbose Linux - Newbie 4 12-31-2009 03:00 PM
GPG: Bad session key gpg between gpg on linux and gpg gui on windows XP konqi Linux - Software 1 07-21-2009 09:37 AM
how do i install a gpg key? jaan kaer Linux - Newbie 9 07-31-2004 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:50 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration