[英]Public Key is not available
我正在嘗試按照以下步驟在運行 Raspbian GNU7Linux 8 (Jessie) 的 Raspberry Pi 3 Model B 上安裝 ROS K.netic。
設置存儲庫我得到這個 output:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.vAO4o1tMMY --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 0xB01FA11
當嘗試運行 sudo apt-get update 我得到這個錯誤:
W: GPG error: http://packages.ros.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5523BAEEB01FA116
有人在添加公鑰時遇到這個問題嗎?
解決了。
這將手動添加密鑰:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <key number>
sudo apt-get update
此外,這可以解決:
sudo apt-get install debian-keyring debian-archive-keyring
sudo apt-key update
sudo apt-get update
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.