Robotics StackExchange | Archived questions

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

Asked by chiyaan on 2022-09-12 12:47:06 UTC

Comments

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.

Asked by ravijoshi on 2022-09-13 06:37:14 UTC

Hi @ ravijoshi I will try working on it as you had suggested Thanks a lot

Asked by chiyaan on 2022-09-13 18:40:05 UTC

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

Asked by chiyaan on 2022-09-15 16:10:52 UTC

Sorry to hear. Which OS and version are you using? Nevertheless, I can locate ros-foxy-navigation2 and ros-galactic-navigation2 in my Ubuntu. Please install ROS Galactic (though it should work on ROS Humble too)!

Asked by ravijoshi on 2022-09-16 11:18:22 UTC

Hi @ ravijoshi, I use ubuntu 22 (Jammy jellyfish) with ros-rolling Thank you for your suggestion and help.

Asked by chiyaan on 2022-09-16 11:41:35 UTC

Answers