在Ubuntu 16.04上安装.Net Core

时间:2016-07-19 13:47:30

标签: .net-core

我正在尝试按照

上的指南在Ubuntu 16.04 LTS上安装.Net Core

https://www.microsoft.com/net/core#ubuntu

但是第二个命令失败如下

rrr @MHR-Ubuntu-1604-LTS:/etc$ sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'

rrr@MHR-Ubuntu-1604-LTS:/etc$ sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
Executing: /tmp/tmp.zyXPb1g9Fe/gpg.1.sh --keyserver
apt-mo.trafficmanager.net
--recv-keys
417A0893
gpg: requesting key 417A0893 from hkp server apt-mo.trafficmanager.net
?: apt-mo.trafficmanager.net: Connection refused
gpgkeys: HTTP fetch error 7: couldn't connect: Connection refused
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
rrr@MHR-Ubuntu-1604-LTS:/etc$ 

我不相信这是一个网络问题,因为我可以成功浏览到 http://apt-mo.trafficmanager.net 在此虚拟机的链接浏览器中。

任何人都可以提出问题的原因吗?

0 个答案:

没有答案