The following signatures couldn‘t be verified because the public key is not available: NO_PUBKEY F

安装ros2的时候,出现这个情况,有可能是因为超过晚上12点,那个raw.githubusercontent.com没办法访问,----即使修改了hosts文件制定了IP地址也是无法访问的,这个时候你需要等到第二天,执行:

sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg

然后再试一下sudo apt update应该就没问题了

The following signatures couldn‘t be verified because the public key is not available: NO_PUBKEY F_第1张图片

你可能感兴趣的:(ros2,树莓派,机器人,ubuntu)