Ask Your Question

issues about using "sudo rosdep init"

asked 2017-03-21 04:51:39 -0600

jamszhao gravatar image


I am new to ROS and I just installed ROS indigo on ArchLinux using the tool "yaourt". When I finished installing all packages from AUR, I entered the command

sudo rosdep init

to initialize ROS. But an error came, saying

Error: cannot download default sources list from: hrttps://

I thought it was net connection problem, so I changed many networks. It seemed that none of the networks could reach that site... So I found a downloaded file 20-default.list and was going to copy it to the corresponding directory manually, but I don't know where I should put the file. I found some solutions for Ubuntu and they said the corresponding directory for 20-default.list is /etc/ros/rosdep/source.list.d/, but when I checked my /etc, I didn't even find the /etc/ros !

Now I'm totally confused and hope someone can help me. Thanks a lot.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-06-15 17:38:57 -0600

tfoote gravatar image

That directory is likely created by the debian package on most other systems. You may need to manually create it on Arch.

edit flag offensive delete link more

answered 2017-05-16 04:31:06 -0600

Techie gravatar image


I am too facing the same issue. I am following the instructions given at ""

After completion of command "sudo apt-get install ros-indigo-desktop-full" I was expecting ros folder to be created in /etc/. But /etc/ros is not present on my machine.

Similarly for "sudo rosdep init" below error occurs Error: cannot download default sources list from: hrttps://

Not able to figure out what is the issue.

Appreciate the support. Thanks !!

edit flag offensive delete link more


Try sudo -E rosdep init

PratNag gravatar image PratNag  ( 2018-06-20 02:55:39 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-03-21 04:51:39 -0600

Seen: 1,858 times

Last updated: Jun 15 '18