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

Revision history [back]

Can you check the following items:

  1. Is there any error when running "source /opt/ros/electric/setup.bash"?

  2. What is the output given by "which roscore"? It should be "/opt/ros/electric/ros/bin/roscore".

  3. Do a less "/opt/ros/electric/ros/bin/roscore" and see if you can open the file.

(do not do this as root)

It depends on your ROS setup but there is very high chances that removing the ROS packages, re-installing them and then rebuilding all the packages compiled from source will fix your problem without losing any data. Always make a backup first if you are unsure.