Unable init rosdep in Ubuntu 14.04

asked 2017-04-22 19:34:52 -0500

Xprogrammer gravatar image

I try to init rosdep in Ubuntu but got issue like that:

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

I install Ubuntu 14.04 in VM (5.1.8) and just stuck at this step. What's the solution for this?

edit retag flag offensive close merge delete

Comments

1

That URL works for me, so it's not an issue with the URL. Does your VM have internet access? Can you access github.com from inside your VM?

ahendrix gravatar image ahendrix  ( 2017-04-22 20:41:40 -0500 )edit

How do i know I can access github.com? sorry, I am fresh on ubuntu.

Xprogrammer gravatar image Xprogrammer  ( 2017-04-23 03:05:19 -0500 )edit

In a terminal:

wget https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
gvdhoorn gravatar image gvdhoorn  ( 2017-04-23 04:14:18 -0500 )edit

See also #q253225. Python might use a different way to resolve hostnames than the rest of your system. Could you try the output of the python -c .. one-liner in one of the comments on that question?

gvdhoorn gravatar image gvdhoorn  ( 2017-04-23 04:16:58 -0500 )edit

Is this a duplicate of #q263604?

tfoote gravatar image tfoote  ( 2017-06-21 03:16:20 -0500 )edit