Ros 2 navigation error installation(Rolling distro)
When I execute command,
sudo apt install ros-rolling-navigation2
I get the following error:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ros-rolling-navigation2
This error can arrive when you do not have GPG keys for packages.ros.org on your system. Can you please follow the installation guide properly and try again? Sometime, if you are behind a firewall (such as using university internet etc.), you may get this error.
Hi @ ravijoshi I will try working on it as you had suggested Thanks a lot
hi @ ravijoshi, I'm pretty new to Ros 2. I had tried a new installation of ros 2 using binary install. I was able to install gpg keys and also had working talker listener. But again the nav2 problem persists. Also the installation is carried out in a vmware machine
Sorry to hear. Which OS and version are you using? Nevertheless, I can locate
ros-foxy-navigation2
andros-galactic-navigation2
in my Ubuntu. Please install ROS Galactic (though it should work on ROS Humble too)!Hi @ ravijoshi, I use ubuntu 22 (Jammy jellyfish) with ros-rolling Thank you for your suggestion and help.