2

I'm trying to set up a .NET environment on Ubuntu 16.04. I followed the instruction on https://www.microsoft.com/net/core#ubuntu

When I run the second command:

sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893

I'm getting the following errors:

Executing: /tmp/tmp.7IpPJJZVuc/gpg.1.sh --keyserver
apt-mo.trafficmanager.net
--recv-keys
417A0893
gpg: requesting key 417A0893 from hkp server apt-mo.trafficmanager.net
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

I disabled the OS fire wall using:

sudo ufw disable

And restarted my system. But still the same result.

Am I missing something here?

1 Answer 1

1

Found the solution here: https://github.com/dotnet/cli/issues/2189

Since keyservers are synchronizing keys you can actually use any other keyserver like the Ubuntu one for getting the MS key:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.