bash Error: No such file or directory

asked 2020-01-28 03:07:16 -0600

Aiswarya gravatar image

I want to install ROS Kinetic on Ubuntu 16.04. While I ran this instruction

"source ~/.bashrc"

, I got this error:

'bash: /home/aiswarya/catkin_ws/devel/setup.bashsource: No such file or directory'

Please help, I am a beginner to ROS. Thanks.

edit retag flag offensive close merge delete

Comments

Please provide the link to the tutorial you followed and a description of what you are trying to accomplish.

The error seems pretty explicit: the file you are trying to source doesn't exist Most likely you are trying to source a workspace that hasn't been built yet.

marguedas gravatar imagemarguedas ( 2020-01-28 03:48:58 -0600 )edit

I wanted to create a workspace and create a package in ROS. I followed the tutorial https://www.youtube.com/watch?v=l5RDBuIM3U8&feature=youtu.be (2:22 -2:30)

Aiswarya gravatar imageAiswarya ( 2020-01-28 06:06:46 -0600 )edit
2

As @marguedas said the error explicitly tells you that the file setup.bashsource doesn't exist, which is normal since the file should be setup.bash. I would guess that when executing the previous command of your tutorial echo source ~/catkin_ws/devel/setup.bash >> ~/.bashrc you might have wrongly typed something and appended source at the end of the file name. Check your .bashrc file to correct this typo.

Delb gravatar imageDelb ( 2020-01-28 06:23:48 -0600 )edit