web-dev-qa-db-ja.com

「Sudo apt-get update」コマンドの実行中にGPGエラーを取得する

Ubuntu 14.04 LTS(64ビット)を使用します。

$ Sudo apt-get update   
.
.
.
Fetched 2,079 kB in 1min 1s (33.7 kB/s)                                        
Reading package lists... Done  
W: GPG error: http://public-repo-1.hortonworks.com HDP InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B9733A7A07513CAD  
W: GPG error: http://public-repo-1.hortonworks.com HDP-UTILS InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B9733A7A07513CAD

この問題を解決するにはどうすればよいですか?

3

MITキーサーバーからキーをインポートします。

gpg --keyserver pgp.mit.edu --recv-keys B9733A7A07513CAD
gpg -a --export 07513CAD | apt-key add -
3
user294348