我正按照此处提到的说明http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/installation/devstack/install_devstack.html和{{1}}
尝试安装OpenEdx Devstack我面临以下问题
任务:[elasticsearch |安装Elasticsearch repo密钥] ************************
==>默认值:失败:[localhost] => {“cmd”:“apt-key adv --keyserver ha.pool.sks-keyservers.net --recv 36095ACC8548582C1A2699A9D27D666CD88E42B4”,“failed”:true,“rc”:2} ==>默认值:stderr:gpg:从hkp服务器请求密钥D88E42B4 ha.pool.sks-keyservers.net
==>默认值:gpg:keyserver超时
==>默认值:gpg:keyserver receive failed:keyserver error
==> default:stdout:执行:gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.y5UWlpBXXc --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver ha.pool.sks-keyservers.net --recv 36095ACC8548582C1A2699A9D27D666CD88E42B4
==>默认值:msg:gpg:从hkp服务器请求密钥D88E42B4 ha.pool.sks-keyservers.net
==>默认值:gpg:keyserver超时
==>默认值:gpg:keyserver receive failed:keyserver error
==>默认值:
==>默认值:致命:所有主机都已失败 - 正在中止
我在公司防火墙后面。任何帮助解决此错误的人都表示赞赏。
答案 0 :(得分:0)
有类似的问题。强制使用端口80。
编辑
apt-key adv --keyserver ha.pool.sks-keyservers.net --recv 36095ACC8548582C1A2699A9D27D666CD88E42B4
到
apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv 36095ACC8548582C1A2699A9D27D666CD88E42B4