ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Adding PUBKEY doesn't allow me to install ROS 2 on Linux 20.04?

asked 2023-01-27 15:11:09 -0500

cwduffy01 gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-01-29 01:42:46 -0500

gvdhoorn gravatar image

updated 2023-01-29 01:55:16 -0500

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:

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2023-01-27 15:11:09 -0500

Seen: 59 times

Last updated: Jan 29 '23