我正在尝试在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继续安装操作系统包。
如果有人有这个问题,请告诉。
答案 0 :(得分:0)
运行:sudo apt-key adv --keyserver keyserver.ubuntu.com --keyserver-options --recv-keys 327574EE02A818DD
或者,当代理人背后
key.pub
sudo apt-key add key.pub