Q:
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.
A:
step1:通过 https://www.ipaddress.com/ 查询到真实的IP;
step2:在 /etc/hosts 文件中添加真实的IP
实测有效