如何解决这个问题?
sudo wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
--2018-07-07 17:23:46-- https://debian.neo4j.org/neotechnology.gpg.key
Resolving debian.neo4j.org (debian.neo4j.org)...
failed: Name or service not known.
wget: unable to resolve host address ‘debian.neo4j.org’
gpg: no valid OpenPGP data found.
答案1
命令
host debian.neo4j.org
返回
debian.neo4j.org is an alias for outreach.neotechnology.com.
outreach.neotechnology.com has address 52.0.233.188
作为临时解决方案添加行
52.0.233.188 debian.neo4j.org
归档/etc/hosts
。
另外使用 debian.neo4j.org 主机 --no-check-certificate 选项:
wget -O- --no-check-certificate https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -