Ros安装过程中,rosdep init && rosdep update提示错误,可能的解决办法

使用的环境

报错截图

Ros安装过程中,rosdep init && rosdep update提示错误,可能的解决办法

试过的解决方案

  1. 使用手机热点
  2. 修改超时时间DOWNLOAD_TIMEOUT = 15.0
  3. System Settings-Software & Update-Ubuntu Sofeware-Downloaded from更换下载源
    都没有成功

成功的解决方案

raw.githubusercontent.com被不可描述的原因墙掉了,导致rosdep init报错,所以在hosts中修改,直接使用ip访问即可成功。如下图
Ros安装过程中,rosdep init && rosdep update提示错误,可能的解决办法

参考连接

GitHub的raw.githubusercontent.com的DNS被污染,修改Hosts解决