I'm trying to install tor on Debian but I have a problem.

When I put this command:

gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -

I have a

gpg: warning : nothing exported
gpg: no valid OpenPGP data found


Thanks in advance

Yes I did this first

gpg --keyserver keys.gnupg.net --recv      A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
  • Did you run this first? gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 Oct 15, 2016 at 16:30
  • Yes I did it first.
    – clara987
    Oct 15, 2016 at 17:51
  • can you provide a verbose output?
    – Alexey Vesnin
    Oct 15, 2016 at 18:55
  • @Alexey Vesnin. Sorry but I don't understand. What command should I run?
    – clara987
    Oct 16, 2016 at 13:40
  • use --verbose command-line key when you're executing your GPG commands and post an output here.
    – Alexey Vesnin
    Oct 16, 2016 at 14:38

1 Answer 1


Try using: gpg --keyserver pool.sks-keyservers.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 instead. The server at keys.gnupg.net no longer exists.

So the new command should be:

gpg --keyserver pool.sks-keyservers.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .