很多涉及Github的安装问题,都会因为raw.githubusercontent.com无法解析而导致无法下载等问题,
比如:
sudo rosdep init
ERROR: cannot download default sources list from:
https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
Website may be down.
解决这个问题的方式简单:
1. 确定自己能够访问外网。
2. 将DNS只设置为8.8.8.8