[Linux for Robotics] Multiple packages found with the same name "bb_8_description":

After migration, I followed the instruction to run the following command, but looks there are multiple bb8 packages. Where to find and delete the duplicate bb8 package?
cd ~/catkin_ws
rm -rf build/ devel/
catkin_make

ERROR:
/opt/ros/noetic/share/catkin/cmake/em/order_packages.cmake.em:23: error: <class ‘RuntimeError’>: Multiple packages found with the same name “bb_8_description”:

  • all/bb8/bb_8_description
  • all/robot_description

Fixed by the following:
bash --noprofile --norc
source /opt/ros/noetic/setup.bash
echo $ROS_PACKAGE_PATH
echo $CMAKE_PREFIX_PATH
cd ~/catkin_ws
rm -rf build devel
catkin_make

1 Like