I was trying to install the ros-melodic-joy with rosdep, but this gave me the following error:
E: Unable to locate package ros-melodic-joy
Eventually this made me think that ros was not installed properly. So, I decided to reinstall ROS Melodic on the ROSbot 2 PRO, which has ubuntu 18.04 bionic installed. I followed the steps from http://wiki.ros.org/melodic/Installation/Ubuntu. Each step ran properly until I tried the next commands:
sudo apt install ros-melodic-desktop
sudo apt install ros-melodic-ros-base
sudo apt install ros-melodic-desktop-full.
This gave me the gave error:
E: Unable to locate package ros-melodic-desktop-full
After doing some research I suspect that this might be caused by the fact that ROS Melodic has reached its end-of-life since April 2023. However, I’m not 100% sure about this. Can someone please confirm if this is indeed true. And if so, what is the best way to install the newer versions of ROS? Should I follow the steps on https://husarion.com/manuals/rosbot/operating-system-reinstallation/? Also, I have some directories on the ROSbot that I can not loose. How can I make a back up of these files? Thank you in advance!