ROS2 Dashing cannot be installed because the public key is not available [closed]
- OS: ubuntu 18.04
- Installation: ROS2 Dashing
- Installation date: 2021/05/29
I tried to install it referring to the official documentation, but I can't get the apt repository because the public key isn't available.
W: GPG error: http://packages.ros.org/ros2/ubuntu bionic InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>
E: The repository 'http://packages.ros.org/ros2/ubuntu 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.
I tried.
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add-
Another article said that doing this would solve it, so I did it, but it still didn't work.
sudo apt-key adv -keyserver keyserver.ubuntu.com -recv-keys F42ED6FBAB17C654
Please see #q379190 and the posts linked from there.
The new key here isn't working, is that okay? C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
None of the commands you show are part of the recommended mitigation.
Where did you get those commands?
You cannot use the information in #q325039.
Thank you very much. solved.