ERROR: cannot download default sources list from: https://raw.githubusercontent.com

报错原因是GitHub的raw.githubusercontent.com无法连接

需要解决GitHub的raw.githubusercontent.com无法连接问题

通过IPAddress.com首页,输入raw.githubusercontent.com查询到真实IP地址

修改hosts Ubuntu,

sudo vi /etc/hosts

添加以下内容保存即可

199.232.28.133 raw.githubusercontent.com

然后输入sudo rosdep init就可以了

转(http://qjzd.net:3000/topic/5e48cc33dcf06d6a181ffb81)

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐