4

I am trying to install ROS Kinetic 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?

PaoloAgVa
  • 1,302
  • 1
  • 10
  • 21

2 Answers2

8

Solved it.

This manually adds the key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <key number>    

sudo apt-get update
PaoloAgVa
  • 1,302
  • 1
  • 10
  • 21
0

Also, this could fix:

sudo apt-get install debian-keyring debian-archive-keyring

sudo apt-key update

sudo apt-get update
Vittore Marcas
  • 1,007
  • 8
  • 11