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

ubuntu/ros error

asked 2014-02-01 04:06:10 -0500

mudassar gravatar image

I have installed ros hydro and have been using it correctly. BUt after some days, I got a problem. Now whenever I open a terminal, it says:

bash: /home/mudassar/ros/setup.sh: No such file or directory bash: /opt/ros/electric/setup.bash: No such file or directory bash: /opt/ros/electric/setup.bash: No such file or directory bash: /opt/ros/electric/setup.bash: No such file or directory bash: /opt/ros/electric/setup.bash: No such file or directory

Could anyone help to resolve my issue? Is there some problem in my .bashrc file? Please be detailed as I am very new to ubuntu and ros. Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-01 04:15:59 -0500

dornhege gravatar image

You are sourcing /opt/ros/electric/setup.bash in your bashrc, but you have hydro installed. Change electric for hydro.

edit flag offensive delete link more

Comments

I have again run "source /opt/ros/hydro/setup.bash" but for the next time when I start terminal, the same message appears as before.

mudassar gravatar image mudassar  ( 2014-02-01 04:27:57 -0500 )edit

You should update this in your .bashrc, where you originally put the electric entry.

dornhege gravatar image dornhege  ( 2014-02-01 04:51:14 -0500 )edit

Please guide how can I update it? I am very new to ubuntu or ros. Which commands should I execute in terminal to update my bashrc for hydro?

mudassar gravatar image mudassar  ( 2014-02-01 05:02:37 -0500 )edit

Just edit the .bashrc in your home with any text editor that you like. You should find a line in there containing electric.

dornhege gravatar image dornhege  ( 2014-02-01 05:46:28 -0500 )edit

Thankyou very much! Issue Resolved!

mudassar gravatar image mudassar  ( 2014-02-01 06:27:08 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-02-01 04:06:10 -0500

Seen: 454 times

Last updated: Feb 01 '14