E: Unable to locate package ros-noetic-mavros

asked 2021-03-05 17:25:14 -0500

alynore gravatar image

I have Ubuntu 20.04 and ros noetic installed but can't install mavros with sudo apt-get install ros-noetic-mavros ros-noetic-mavros-extras.

edit retag flag offensive close merge delete


Maybe you could provide more information on why you can't install it? Do you get any additional error messages or just the one in the title?? It is released so this shouldn't be the issue...

Maybe run apt get update?

mgruhler gravatar image mgruhler  ( 2021-03-08 03:03:08 -0500 )edit

sudo apt-get install ros-noetic-mavros Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package ros-noetic-mavros

Thats what i get, i also did apt get update but same error

Also if i try to do catking build i get this error

Traceback (most recent call last): File "/usr/bin/catkin", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3254, in <module> def _initialize_master_working_set(): File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3237, in _call_aside f(args, *kwargs) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3266, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 584, in _build_master ws.require(__requires__) File "/usr/lib/python3/dist-packages/pkg_resourc

alynore gravatar image alynore  ( 2021-03-13 16:37:39 -0500 )edit

Please source your ROS environment, then provide the output of the following lines:

env | grep ROS
cat /etc/apt/sources.list.d/ros-latest.list
mgruhler gravatar image mgruhler  ( 2021-03-15 07:06:56 -0500 )edit

I'm having the same issue. Was there a solution for this?

Pestilent gravatar image Pestilent  ( 2022-02-23 11:35:24 -0500 )edit

Can you answer the questions in the comments posted above?

mgruhler gravatar image mgruhler  ( 2022-02-28 03:20:25 -0500 )edit