ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Ros melodic install - unable to locate package ros-melodic-ros-base

asked 2021-07-02 05:37:13 -0500

robin_rob96 gravatar image

updated 2021-07-06 10:32:29 -0500


It seems like I messed up some settings for my static ip; new-installed Ubuntu now it works

Old Text


im new to melodic (and ubuntu) but had success installing ros melodic on different machines so far.

Now, I want to install it on my raspberry pi 3b, where 18.04 (Server) is running so far.

I followed the installation instructions, but I get an error at 1.3 - "Set up your keys":

gpg: no valid OpenPGP data found.

sudo apt update then yields the following:

Hit:1 bionic InRelease Hit:2 bionic-updates InRelease Hit:3 bionic-backports InRelease Hit:4 bionic-security InRelease Get:5 bionic InRelease [4680 B] Err:5 bionic InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654 Reading package lists... Doneros-base W: GPG error: bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654 E: The repository ' bionic InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

(Sorry for the formatting, dont know how to resolve this).

Finally, when i want to install:

E: Unable to locate package ros-melodic-ros-base

I hope I've provided all needed information:)

Thanks for your help. Robin

edit retag flag offensive close merge delete


if you figured out what caused your problems, please post your solution as an answer and accept your own answer.

That way future readers would benefit from what you found out.

gvdhoorn gravatar image gvdhoorn  ( 2021-07-06 12:02:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2021-07-06 13:11:20 -0500

robin_rob96 gravatar image

updated 2021-07-06 13:12:02 -0500

When I first installed Ubuntu on the pi, I followed a random tutorial for setting a static ip in my local network - I forgot about details. Turns out, this was what made the error; after a clean ubuntu install, my problems were gone.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2021-07-02 05:37:13 -0500

Seen: 538 times

Last updated: Jul 06 '21