【发布时间】:2015-06-25 16:42:52
【问题描述】:
我一直在尝试在 Ubuntu 14.04 Openstack 虚拟机上安装 Mesos,但遇到了一些问题。我不能简单地按照 tarball 的说明进行操作,因为 Maven 在我必须使用的代理后面抛出了很多错误。我已经将 http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xDF7D54CBE56151BF 中的 Mesos 密钥 DF7D54CBE56151BF 安装到虚拟机上,并且可以验证:
root@erik-mesos2:~# gpg --list-keys
/root/.gnupg/pubring.gpg
------------------------
pub 4096R/E56151BF 2014-05-21
uid Mesosphere Archive Automatic Signing Key <support@mesosphere.io>
我正在按照此处列出的说明进行操作:https://docs.mesosphere.com/tutorials/install_ubuntu_debian/#step-1
但是当我在安装密钥后运行apt-get update 时,我最终得到了一个错误
W: GPG error: http://repos.mesosphere.io trusty InRelease: The following signatures
couldn't be verified because the public key is not available: NO_PUBKEY DF7D54CBE56151BF
作为参考,教程要求在密钥安装后提供这些命令。
DISTRO=$(lsb_release -is | tr '[:upper:]' '[:lower:]')
CODENAME=$(lsb_release -cs)
echo "deb http://repos.mesosphere.io/${DISTRO} ${CODENAME} main" | sudo tee /etc/apt/sources.list.d/mesosphere.list
sudo apt-get -y update
我也设置了 http_proxy 和 https_proxy 变量。怎么了?
【问题讨论】:
标签: ubuntu gnupg apt-get mesos openpgp