我一直试图在Ubuntu14.04 Openstack虚拟机上安装Mesos,并遇到了一些问题。我不能简单地按照tarball的说明操作,因为Maven在代理后面抛出了许多必须使用的错误。我已经将来自http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xDF7D54CBE56151BF的Mesos键http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xDF7D54CBE56151BF安装到虚拟机上,并可以验证:
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>我按照这里列出的说明: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变量。出什么问题了?
发布于 2015-06-25 21:15:16
apt使用它自己的GnuPG键环/etc/apt/trusted.gpg。使用apt-key来获取密钥,它使用正确的键环环绕GnuPG。
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv DF7D54CBE56151BF这也是在正式文档中提出的,但我replaced the short key ID with a long key ID for security reasons。
https://stackoverflow.com/questions/31056108
复制相似问题