roslaunch could not find package
recently I installed ros2 foxy on my ubuntu 20 system where I already have ros1 noetic. usually within the workspace whenever we type roslaunch on terminal we get the packages inside the workspace right. but now whenever I type roslaunch in my workspace I get the following.
akash-j@linuxadmin-ThinkPad-L490:~/ur5_ws$ roslaunch
build/ .catkin_workspace devel/ src/
akash-j@linuxadmin-ThinkPad-L490:~/ur5_ws$ roslaunch
instead of getting the packages, I am getting the above, and every time I need to give the full path to launch the file.
in addition to it when I try to sudo apt update I get the following message.
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/ros2-latest.list:1 and /etc/apt/sources.list.d/ros2.list:1
W: Target Translations (main/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list.d/ros2-latest.list:1 and /etc/apt/sources.list.d/ros2.list:1
i dont know whats wrong here