Cloudera经理ubuntu 12.04回购密钥问题

时间:2015-10-27 11:45:18

标签: ubuntu-12.04 cloudera cloudera-cdh cloudera-manager

我正在尝试在ubuntu 12.04上安装Cloudera manager。使用路径B,如enter link description here

中所述

我在/etc/apt/sources.list.d/创建了 cloudera-manager.list 文件 在运行sudo apt-get update时,我最终得到了这个: ... Fetched 4,180 B in 29s (141 B/s)
Reading package lists... Done W: GPG error: http://archive.cloudera.com precise-cm5 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 327574EE02A818DD

在一些窥探之后,我在archive.key

找到了所需的密钥文件

我跑了: curl -s http://archive.cloudera.com/cm5/ubuntu/precise/amd64/cm/archive.key | sudo apt-key add -

现在正在运行sudo apt-get update我得到:

... Fetched 198 B in 17s (11 B/s)
Reading package lists... Done W: GPG error: http://archive.cloudera.com precise-cm5 Release: The following signatures were invalid: BADSIG 327574EE02A818DD Cloudera Apt Repository

如果没有这一步,我就无法从cloudera继续安装操作系统包。

如果有人有这个问题,请告诉。

1 个答案:

答案 0 :(得分:0)

运行:sudo apt-key adv --keyserver keyserver.ubuntu.com --keyserver-options --recv-keys 327574EE02A818DD

或者,当代理人背后

  1. 转到https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x327574EE02A818DD
  2. 将公钥保存在文件中:key.pub
  3. 然后运行:sudo apt-key add key.pub