sudo rosdep init ERROR: cannot download default sources list from:
解决方法:
- 进入/etc/hosts文件目录,
2、进入到hosts 文件:root@ros-vm2:/etc# gedit hosts,在末尾添加151.101.84.133 raw.githubusercontent.com保持后关闭
3、在终端输入:sudo rosdep init,结果如下
4、执行命令:rosdep update后结果如下