ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The package you're looking for is not rosgraph_msgs, but graph_msgs. Those are two different packages.

You should be able to install the latter with:

sudo apt install ros-melodic-graph-msgs

I've tried installing it with rosdep install rosgraph_msgs, which says the installation was successful.

The package you're looking for is not rosgraph_msgs, but graph_msgs. Those are two different packages.

You should be able to install the latter with:

sudo apt install ros-melodic-graph-msgs

Please also note that rosdep install deals with package dependencies. Not packages themselves directly.

Use apt to install packages, or build them in your workspace (but don't do the latter, unless absolutely necessary). See also #q320046.