Solution: the solution to the wrong connection of rosdep init or rosdep update

If the prompt is error: unable to process source Such errors, while ensuring that their machine can be on the premise of Baidu, at this time may be due to The website has been blocked.
The solution is to modify the hosts file and add the IP address of the website

#Open the hosts file
sudo gedit /etc/hosts
#Add at the end of the file
#Save and quit and try again

Try again

Read More: