ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosdep init failed

asked 2016-03-10 07:53:39 -0500

wjch gravatar image

updated 2016-03-11 05:43:34 -0500

gvdhoorn gravatar image

I enter sudo rosdep init then output:

ERROR: cannot download default sources list from:
https://raw.github.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list

Edit:

jeff@ubuntu:~$ sudo easy_install -U rosdep rospkg
Searching for rosdep
Reading https://pypi.python.org/simple/rosdep/
Best match: rosdep 0.11.4
Downloading https://pypi.python.org/packages/source/r/rosdep/rosdep-0.11.4.tar.gz#md5=c8969f199b0590338bf20dab63bc4d50
error: Download error for https://pypi.python.org/packages/source/r/rosdep/rosdep-0.11.4.tar.gz#md5=c8969f199b0590338bf20dab63bc4d50: [Errno 8] _ssl.c:510: EOF occurred in violation of protocol
edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2016-03-10 08:43:01 -0500

gvdhoorn gravatar image

Please just try again, this is most likely a transient ((inter)network) error.

If you already did that, then please update your question with what actions you've already taken to resolve this.

edit flag offensive delete link more

Comments

I have tried again, but failed! It's the same error

wjch gravatar image wjch  ( 2016-03-11 05:34:14 -0500 )edit

I did not say you should reinstall, I said you should try to run sudo rosdep init again ..

Also: please install rosdep using apt-get instead of pip or easy_install (unless you really have to). It will probably result in hard to solve problems later on.

gvdhoorn gravatar image gvdhoorn  ( 2016-03-11 06:25:45 -0500 )edit

I entered sudo rosdep init again, but ERROR: cannot download default sources list from: https://raw.github.com/ros/rosdistro/... live in shenzh,china,Is this website not support this area like china?It,s urgent for me to solve it ,please help me!

wjch gravatar image wjch  ( 2016-03-11 20:13:14 -0500 )edit

What is the output of wget https://raw.github.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list?

live in shenzh,china,Is this website not support this area like china?

It should work fine, unless there is someone/something interfering with your network. Do you use a proxy?

gvdhoorn gravatar image gvdhoorn  ( 2016-03-12 02:20:56 -0500 )edit

no ,I tried several times,but it does still not work? I don't why,any other ways to solve it?

wjch gravatar image wjch  ( 2016-03-12 05:33:58 -0500 )edit

Is that used to initialize for the "rosdep init" a package,if yes,please download and send it to me at 1472787567@qq.com,my ROS indigo is installed on ubuntu14.04 LTS! thank you

wjch gravatar image wjch  ( 2016-03-12 06:21:27 -0500 )edit

So, what is the output of wget https://raw.github.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list?

gvdhoorn gravatar image gvdhoorn  ( 2016-03-12 09:55:47 -0500 )edit

I don't know about this,luckily my problem has been solved, thanks for your attention!

wjch gravatar image wjch  ( 2016-03-12 19:39:47 -0500 )edit
0

answered 2016-03-12 13:01:00 -0500

This may happens when network needs some particular environment variable to be set. try with sudo -E rosdep init

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-03-10 07:53:39 -0500

Seen: 1,493 times

Last updated: Mar 12 '16