Ask Your Question
1

Error in running "sudo rosdep init"

asked 2016-05-23 12:00:32 -0600

siddhesh gravatar image

updated 2016-05-24 01:39:04 -0600

I had previously installed ROS Jade distribution, I have uninstalled it and trying to install Indigo, while running sudo rosdep init I get following error :

ERROR: default sources list file already exists:
    /etc/ros/rosdep/sources.list.d/20-default.list
Please delete if you wish to re-initialize

As suggested in one of the answers I tried using sudo pip uninstall rosdep to uninstall previous version which gives sudo: pip: command not found

Is there any way to manually remove rosdep? running which rosdep gives me this /usr/bin/rosdep

I found this question on the same error

http://answers.ros.org/question/42818...

Blockquote

edit retag flag offensive close merge delete

Comments

Did you try doing what it says? Deleting the file /etc/ros/rosdep/sources.list.d/20-default.list and then running sudo rosdep init again?

spmaniato gravatar imagespmaniato ( 2016-05-23 13:04:08 -0600 )edit

it works for me. thanks

abhay2302 gravatar imageabhay2302 ( 2016-10-21 01:00:59 -0600 )edit

hello there i am new to ROS and i facing the same problem etc/ros/rosdep/sources.list.d/20-default.list i cannot the file location to delete it. Can you please help??

rishityagi gravatar imagerishityagi ( 2018-05-13 06:32:51 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2016-05-24 02:03:24 -0600

gvdhoorn gravatar image

You don't need to uninstall rosdep, just make sure it's up to date.

rosdep isn't too tied to ROS releases, so it should work fine.

edit flag offensive delete link more

Comments

Thanks, it worked.

siddhesh gravatar imagesiddhesh ( 2016-05-24 09:45:21 -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

1 follower

Stats

Asked: 2016-05-23 12:00:32 -0600

Seen: 5,935 times

Last updated: May 24 '16