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