ROS 软件源的签名密钥已过期,导致系统拒绝信任该软件源。bash展开代码The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654
运行以下命令修复 GPG 密钥:
bash展开代码sudo apt-key del F42ED6FBAB17C654 # 删除旧密钥
sudo apt update # 此时会提示缺少密钥
sudo apt install curl -y # 确保 curl 已安装
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
bash展开代码sudo apt update --fix-missing
sudo apt clean # 清理损坏的缓存
sudo apt update
本文作者:Dong
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC。本作品采用《知识共享署名-非商业性使用 4.0 国际许可协议》进行许可。您可以在非商业用途下自由转载和修改,但必须注明出处并提供原作者链接。 许可协议。转载请注明出处!