rosdep update failure and solution
rosdep update failure and solution
1. Problem
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
ERROR: unable to process source [https ://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml]:
<urlopen error ('_ssl.c:711: The handshake operation timed out',)> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml)
According to the prompt: Accessing the above URL has timed out.
But I can access it using the host browser
2. Solution
It was found that it mainly failed when opening the link in 20-default.list, that is, it could not download several configuration files listed in 20-default.list. With this discovery, the next thing is to download these files locally and then modify the 20-default.list script file.
Mainly refer to the author's method
Installing ROS, solution to rosdep update error during initialization_super_sean's blog-CSDN blog
os-specific listings first
#yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
yaml file:///etc/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
generic
#yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
#yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
#yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
#gbpdistro https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml fuerte
yaml file:///etc/ros/rosdistro/master/rosdep/base.yaml
yaml file:///etc/ros/rosdistro/master/rosdep/python.yaml
yaml file:///etc/ros/rosdistro/ master/rosdep/ruby.yaml
gbpdistro file:///etc/ros/rosdistro/master/releases/fuerte.yaml fuerte
newer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead
Use the browser to download and place it in the corresponding directory.
/etc/ros/rosdistro/master
Modify loading from file
3. Result after solution
Finally completed the update
4. Other resources
https://blog.csdn.net/Draonly/article/details/103448878
Installing ROS, solution to rosdep update error during initialization_super_sean's blog-CSDN blog
https://www.cnblogs.com/zxzmnh/p/11758103.html
rosdep init ROS installation problem solution - Gu Yueju
Solution to rosdep init or rosdep update connection error | Blue Whale ROS Robot Forum
https://blog.csdn.net/qq_70482640/article/details/125131070
Ubuntu18.04 melodic installation and downloading ROS (super detailed tutorial) - Gu Yueju