需要梯子!!!!
查看sudo rosdep init 里面报错的网站,发现是这些
os-specific listings first
yaml https://raw.githubusercontent.com/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
newer distributions (Groovy, Hydro, …) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead
将里面内容全部复制
于/etc/ros/rosdep/sources.list.d下建立 20-default.list 文件,将内容复制进去。
然后可以跳过 sudo rosdep init
直接运行rosdep update
得到
即可进行下一步。