1.无法下载和更新ros
原因:ubuntu的DNS没有配置
解决:在dns中添加114.114.114.114和8.8.8.8解决问题
2.rosdep update无法执行,导致无法安装系统依赖
原因:首次运行未初始化
解决:
如果你是第一次使用rosdep,你会看到一个error:
ERROR: your rosdep installation has not been initialized yet. Please run:
运行下面两条命令,然后再尝试运行上面的命令:
sudo rosdep init
rosdep update
然后你会看到:
#All required rosdeps installed successfully