rosdep update 失败及解决办法

一、问题

reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml]:
    <urlopen error ('_ssl.c:711: The handshake operation timed out',)> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml)

根据提示:访问上面的网址超时了

但是我用主机浏览器是可以进行访问的

二、解决方法

发现主要在打开20-default.list里的链接时失败,也就是无法下载20-default.list列举的几个配置文件。有了这个发现,下面的事情就是,把这些文件下载到本地,然后修改20-default.list脚本文件就可以了。

主要参考该作者的方法

安装ROS, 初始化时rosdep update出错解决办法_super_sean的博客-CSDN博客

# os-specific listings first
#yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx

yaml file:///etc/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx

# generic
#yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
#yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
#yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
#gbpdistro https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml fuerte

yaml file:///etc/ros/rosdistro/master/rosdep/base.yaml
yaml file:///etc/ros/rosdistro/master/rosdep/python.yaml
yaml file:///etc/ros/rosdistro/master/rosdep/ruby.yaml
gbpdistro file:///etc/ros/rosdistro/master/releases/fuerte.yaml fuerte
# newer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead

利用浏览器进行下载并放置在对应的目录下

/etc/ros/rosdistro/master

修改从文件中进行加载 

三、解决后的结果

 终于完成了更新

四、其他资源

https://blog.csdn.net/Draonly/article/details/103448878

ubuntu安装ROS进行到rosdep update时出现错误,如ERROR: unable to process source ..._学习道路上的小学生的博客-CSDN博客

 安装ROS, 初始化时rosdep update出错解决办法_super_sean的博客-CSDN博客

https://www.cnblogs.com/zxzmnh/p/11758103.html

rosdep init ROS安装问题解决方案 - 古月居

rosdep init 或者rosdep update 连接错误的解决办法 | 蓝鲸ROS机器人论坛

ROS:sudo rosdep init出错常规方法都无效后解决办法记录 - 知乎

https://blog.csdn.net/qq_70482640/article/details/125131070

Ubuntu18.04 melodic 安装与下载ROS(超详细教程) - 古月居

melodic/Installation/Ubuntu - ROS Wiki

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值