I am trying to install ROS K.netic on the Raspberry Pi 3 Model B running Raspbian GNU7Linux 8 (Jessie) following these steps .
Setting up the repositories I get this 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
And when trying to run a sudo apt-get update I get this error:
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
Anyone had this problem adding a public key?
Solved it.
This manually adds the key:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <key number>
sudo apt-get update
Also, this could fix:
sudo apt-get install debian-keyring debian-archive-keyring
sudo apt-key update
sudo apt-get update
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.