1、“curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -” 报错:gpg: no valid OpenPGP data found
解决方法:
使用git镜像站的源地址https://raw.fastgit.org/ros/rosdistro/master/ros.asc替换https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc
2、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.
解决方法:
手动建立rosdep源的文件夹,等价于手动完成sudo rosdep init
sudo mkdir -p /etc/ros/ros