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

使用的环境

  • Ubuntu18.04
  • melodic
  • Ubuntu install of ROS Melodic 1.6.1

报错截图

在这里插入图片描述

试过的解决方案

  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提示错误,可能的解决办法_第1张图片

参考连接

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

你可能感兴趣的:(Ros安装过程中,rosdep init && rosdep update提示错误,可能的解决办法)