"rosdep update" error in Kinetic
Hello all;
I am installing Ros Kinetic in a new machine with Ubuntu 16.04. Everything goes fine, until I try to do a "rosdep update" command. I obtain the following errors repetedly:
reading in sources list data from /etc/ros/rosdep/sources.list.d
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:
<urlopen error no host given> (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 no host given> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml]:
<urlopen error no host given> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml]:
<urlopen error no host given> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:
Failed to download target platform data for gbpdistro:
<urlopen error no host given>
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml
ERROR: error loading sources list:
<urlopen error <urlopen error no host given> (https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml)>
I have already read the related questions and answers related to this issue, but none of them fully applies to my problem.
EDIT (links to questions and answers):
https://answers.ros.org/question/1629...
https://answers.ros.org/question/2773...
https://github.com/ros-infrastructure...
https://github.com/ros/rosdistro/issu...
https://github.com/ros-infrastructure...
http://blog.csdn.net/gddxz_zhouhao/ar...
The rosdep update output that I am obtaining is:
a4blue@a4blue-HP-EliteDesk-800-G3-TWR:~$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
-------------------
url: 'https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml'
----------------
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:
<urlopen error no host given> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml)
-------------------
url: 'https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml'
----------------
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml]:
<urlopen error no host given> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml)
------------------
url: 'https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml'
----------------
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml]:
<urlopen error no host given> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml)
-------------------
url: 'https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml'
----------------
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml]:
<urlopen error no host given> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:
Failed to download target platform data for gbpdistro:
<urlopen error ...
Can you link us to the Q&As you've already looked at? Just to avoid forum members from suggesting the same solutions.
You can use the
q#nnnnnn
format to link to questions, don't need to copy-paste the complete url.Probably start with the regular things to check:
ping github.com
works?wget
any of those URLs?Everything is ok. ping works, I can do wget, clock and date correct. In the same company network, I have installed other previous versions of ROS without problems.
this seems to suggest that there is no host part in the url passed to
urlopen
. If you can, it would probably be easiest to instrument therosdep
code to get it to print whatever URL it is about to pass tourllib
and see whether something is wrong there.that doesn't necessarily mean that something couldn't have changed that now prevents you from doing the same of course.
I know...I am going to try to install Kinetic in another machine just to check. How can I make rosdep to print the information you a referring to?
that might be a bit drastic. What about installing Docker on a machine (if it doesn't already have it) and then using the
ros:kinetic
image see ifrosdep
wants to play nice? You could even do that on your own machine.by editing the sources. I don't think there is a built-in facility for this unfortunately.