I am using ubuntu 20.04 and I am getting the error of unable to locate package when trying to install the ros 2 humble.
I followed the instructions on the ros.org page for humble.
The following commands were used to set up the sources.
sudo apt install software-properties-common
sudo add-apt-repository universe
sudo apt update && sudo apt install curl -y
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
The commands above were all successful
Then I proceeded to try and install the ros 2 packages
sudo apt update
sudo apt upgrade
and then:
sudo apt install ros-humble-desktop
- fail
the same goes with base