ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Electric is of course not ROS Kinetic, so those error messages are to be expected when you have Kinetic installed and not Electric.
To get rid of the errors however, do the following:
gedit $HOME/.bashrc
now scroll all the way to the end of the file (bottom) and remove all the lines that look like the following:
source /opt/ros/electric/setup.bash
There should be five of those.
And could you please tell us where you found instructions to run echo "source /opt/ros/electric/setup.bash" >> ~/.bashrc
after having installed ROS Kinetic? Because that would be incorrect and should be fixed.