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

ERROR in rosinstall: Two ros roots defined in config ...

asked 2012-03-26 00:11:10 -0500

michikarg gravatar image

Hi,

i am trying to install an overlay of the ros-core and ros_comm stack but rosinstall throws the following error:

ERROR in rosinstall: Two ros roots defined in config, delete one: /work/ros/electric/ros /usr/stud/zhi/work/ros/roszhi

Where should i delete one ROS-ROOT? The $ROS_ROOT environment variable only includes one path and i didnt have this problem before... Do i recently have to change to change my ROS environment to create overlays with rosinstall?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-05-09 22:17:36 -0500

tfoote gravatar image

updated 2012-05-09 22:18:27 -0500

It is warning you that you have two directories which are detected to be the "ros" stack. And as that stack is special cased, having two copies of ros is not supported, and can lead to very unexpected behavior depending on which version is first in the configuration. To fix the problem, edit your rosinstall file to remove the version of ros which you do not want to use. (Usually /opt/ros/DISTRO/stacks/ros)

Also although it errors, it does complete it's operation.

edit flag offensive delete link more

Comments

1

I'm getting the same warning as Michi with rosinstall 0.6.16, however it doesn't seem to complete it's operation (the setup scripts are not generated). I also need to overlay the ros stack with Michi's version for python3, so what exactly do I have to change to get this to install properly?

Felix Ruess gravatar image Felix Ruess  ( 2012-05-30 10:34:12 -0500 )edit
1

answered 2012-04-19 12:07:54 -0500

Tien Thanh gravatar image

Hi Michi,

I have the same problem when re-install morse with ROS. The problem is from rosinstall new version. I edit rosinstall executable file in /usr/local/bin/rosinstall and choose the old version 0.5.16. And it works fine.

edit flag offensive delete link more

Comments

Thanks, this really seems to be a problem with new rosinstall versions...

michikarg gravatar image michikarg  ( 2012-04-19 22:21:29 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2012-03-26 00:11:10 -0500

Seen: 513 times

Last updated: May 09 '12