Adding PUBKEY doesn't allow me to install ROS 2 on Linux 20.04?
I am using Linux 20.04 and trying to install the Humble Hawksbill distribution of ROS 2 using the documentation I found here.
When I run sudo apt install ros-humble-desktop
I get an error that reads E: Unable to locate package ros-humble-desktop
. I'm assuming this is because I don't have the proper public key added, since running , so I followed this forum thread. It still doesn't work. I'm not quite sure why. I tried adding the public key after removing it multiple times, and while running sudo apt update
gave me a warning that read public key is not available: NO_PUBKEY F42ED6FBAB17C654
, it doesn't anymore.
What's weird is that I'm able to install the Foxy distribution using the same method. What am I doing wrong?
Asked by cwduffy01 on 2023-01-27 16:11:09 UTC
Answers
I am using Linux 20.04 and trying to install the Humble Hawksbill distribution of ROS 2 using the documentation I found here.
[..]
What's weird is that I'm able to install the Foxy distribution using the same method. What am I doing wrong?
The problem is you're trying to install a ROS 2 version (ie: Humble) on an Ubuntu OS (ie: Focal, or 20.04
) which that specific ROS 2 version does not support.
Foxy does support Ubuntu 20.04
, hence why you can install that version.
Supported versions of Ubuntu for ROS 2 Humble are stated in at least two places:
- REP 2000: ROS 2 Releases and Target Platforms - Humble Hawksbill (May 2022 - May 2027) (see #q399935 for a related Q&A, but for Galactic), and
- the documentation you link (ie:
ROS 2 Documentation: Humble - Installation - Ubuntu (Debian)
): immediately at the top of the page, right under the table of contents:
Ubuntu Jammy is the codename for Ubuntu 22.04
.
Asked by gvdhoorn on 2023-01-29 02:42:46 UTC
Comments