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

Can't source ROS galactic

asked 2022-10-16 21:16:39 -0500

sajid1122 gravatar image

I was following the installation steps of ros2 galactic on ubuntu 20.04 according to the ros documentation. Found here: https://docs.ros.org/en/galactic/Inst.... I followed everything all the way up to

# Replace ".bash" with your shell if you're not using bash
# Possible values are: setup.bash, setup.sh, setup.zsh
 source /opt/ros/galactic/setup.bash

Then i get the error

bash: cd: too many arguments

I currently have absolutely no idea why this is happening, did some searches online and it seems that no one has had this problem before me.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-10-16 21:35:48 -0500

sajid1122 gravatar image

updated 2022-10-16 21:36:58 -0500

It seems that my alias formatting for an alias i made previously in the bashrc file was wrong.

Solution: Remove your alias. Close your terminal and open a new terminal. However, if you want to remove the alias on your current terminal you can run as follows

unalias alias-name

Read more here: https://askubuntu.com/questions/32536...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-10-16 21:16:39 -0500

Seen: 37 times

Last updated: Oct 16 '22