终端显示的错误为:
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.
解决办法为:
sudo gedit /etc/resolv.conf
将
nameserver 127.0.1.1
改为
nameserver 8.8.8.8
nameserver 8.8.4.4