您当前的位置: 首页 > 

ROS安装时:找不到有效的OpenPGP数据

高精度计算机视觉 发布时间:2022-02-01 17:58:36 ,浏览量:2

安装ROS-noetic,时,当输入命令时:

curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -

报错:

gdp: 找不到有效的 openpgp 数据

 

原因:

是http://raw.githubusercontent.com是墙外地址,无法访问

解决方法:

弄个梯子,或者从另一个网址获取密钥,如下

wget http://packages.ros.org/ros.key
sudo apt-key add ros.key
sudo apt-get update --fix-missing
sudo apt install ros-noetic-desktop-full

本文结束

关注
打赏
1688896170
查看更多评论
  • 2浏览

    0关注

    464博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0493s