【发布时间】:2021-05-29 06:39:12
【问题描述】:
- 操作系统:ubuntu 18.04
- 安装:ROS2 Dashing
- 安装日期:2021/05/29
官方文档 "https://docs.ros.org/en/dashing/Installation/Ubuntu-Install-Debians.html"
我尝试参考官方文档安装它,但由于公钥不可用,我无法获取 apt 存储库。
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.
我试过了。
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add-
另一篇文章说这样做可以解决,所以我做了,但还是不行。
sudo apt-key adv -keyserver keyserver.ubuntu.com -recv-keys F42ED6FBAB17C654
最近有什么变化吗? 请帮帮我。
【问题讨论】:
标签: ubuntu-18.04 ros2