Manage Multiple ROS Installs
From wikidb
Overview
Indigo and Jade are both installed. If the following is in .bashrc
source /opt/ros/jade/setup.bash
the bash shell comes up as jade. To change the shell to Indigo enter the following command at the shell prompt.
source /opt/ros/indigo/setup.bash ROS_DISTRO was set to 'jade' before. Please make sure that the environment does not mix paths from different distributions.
To make sure the environment is set up correctly.
env | grep ROS ROS_ROOT=/opt/ros/indigo/share/ros ROS_PACKAGE_PATH=/opt/ros/indigo/share:/opt/ros/indigo/stacks ROS_MASTER_URI=http://localhost:11311 ROSLISP_PACKAGE_DIRECTORIES= ROS_DISTRO=indigo ROS_ETC_DIR=/opt/ros/indigo/etc/ros
Links
If the "ROS_DISTRO was set to 'jade' before." occurs when the bash shell starts, there may be an unintentional line in the .bashrc script that resets the environment.