这是我正在犯的错误
Err:7 http://packages.ros.org/ros/ubuntu bionic InRelease
The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>
Reading package lists... Done
W: GPG error: http://packages.ros.org/ros/ubuntu bionic InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>
E: The repository 'http://packages.ros.org/ros/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.
发布于 2021-05-29 08:03:13
您必须使用下面的命令将上述GPG键重新添加到系统中。
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654
发布于 2021-06-17 08:07:42
这意味着回购密钥没有正确设置。您可以使用下面的命令再次添加它们。
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
参见ROS安装说明:http://wiki.ros.org/Installation/Ubuntu
https://askubuntu.com/questions/1341378
复制相似问题