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後結果如下