EXPKEYSIG debian ubuntu

Fix EXPKEYSIG F42ED6FBAB17C654

Open Robotics <info@osrfoundation.org> — by Open Robotics

Error message
EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>

Fix commands for Generic (GnuPG)

Method 1 GnuPG keyserver lookup

Fetches the key from a public keyserver using GnuPG. Works on any distro with gpg installed.

Generic (GnuPG) — bash
$ gpg --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654
$ gpg --list-keys F42ED6FBAB17C654

Method 2 Direct download

Downloads and imports the key file directly from the vendor.

Generic (GnuPG) — bash
$ curl -fsSL https://repo.ros2.org/repos.key | gpg --import

After importing the key

Run sudo apt-get update (or your distro's equivalent) again. If successful you should see Hit: lines with no EXPKEYSIG warnings. Still broken? Check that your /etc/apt/sources.list.d/ entry references the correct [signed-by=…] keyring path.