ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Two ros roots defined in config, delete one

asked 2012-06-21 13:10:54 -0600

EABaker gravatar image

I believe that I am having the same problem as defined in this question, and like the poster Felix, rosinstall never finishes and the setup files are not generated. Can anyone tell me how to fix this problem? The exact input and output I have is this:

~$ rosinstall ~/ros-py3 /opt/ros/electric
rosinstall operating on /home/bakerea2/ros-py3 from specifications in rosinstall files /opt/ros/electric, (Over-)Writing /home/bakerea2/ros-py3/.rosinstall
[ros] Updating /home/bakerea2/ros-py3/ros
[ros] Done.
[ros_comm] Updating /home/bakerea2/ros-py3/ros_comm
[ros_comm] Done.
[common_msgs] Updating /home/bakerea2/ros-py3/common_msgs
[common_msgs] Done.
(Over-)Writing, setup.bash, and setup.zsh in /home/bakerea2/ros-py3
ERROR in rosinstall: Two ros roots defined in config, delete one: /opt/ros/electric/ros /home/bakerea2/ros-py3/ros

Thanks for reading.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-06-21 22:10:09 -0600

Lorenz gravatar image

You need to leave out the /opt/ros/electric in your rosinstall call, i.e. you need to call rosinstall like this:

rosinstall ~/ros-py3

When you have a look at the rosinstall file, you'll see that the first line checks out the stack ros which normally is the ROS_ROOT until Electric. That's why you cannot pass /opt/ros/electric since it provides a second (unpatched) ROS_ROOT.

edit flag offensive delete link more

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


Asked: 2012-06-21 13:10:54 -0600

Seen: 137 times

Last updated: Jun 21 '12