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

which deb package contains ros package X?

asked 2011-08-04 14:45:16 -0600

Kei Okada gravatar image

updated 2014-01-28 17:10:09 -0600

ngrennan gravatar image

I'm installing electric turtle from deb packages but could not find motion_planning_msgs. Is there a way to know which deb package contains ros package X? I tried to use apt-file but it didn't work for

$ apt-file update
Ignoring source without Contents File:
Ignoring source without Contents File:
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-08-04 17:52:55 -0600

kwc gravatar image

updated 2011-08-04 19:01:04 -0600

You need to find the ROS stack that the package is contained in. The easiest way to do this is to go to the wiki page, e.g. . You'll see in the navigation bar that it's part of 'arm_navigation', so the debian package is ros-electric-arm-navigation.

The next version of roslocate will also let you do this as well. If you need it now you can fetch it from:

./roslocate describe motion_planning_msgs

Type: package
Stack: arm_navigation
Description: This package defines a set of general-purpose messages and services for motion planning and control. It includes messages that can be used to specify joint and cartesian trajectories, represent robot state and services to compute motion plans. It also includes a set of conversion methods that can be used to convert messages from one form to another.


Need to use --distro=electric to catch the issue that Kei notes in the comment:

./roslocate describe motion_planning_msgs --distro=electric
cannot locate information about motion_planning_msgs
edit flag offensive delete link more


Ken, would it be possible to put the ROS package names into the .deb stack package description? That way the stack should also show up when using "apt-cache search <pkg>".
AHornung gravatar image AHornung  ( 2011-08-04 18:34:20 -0600 )edit
Thanks, now `dpkg -L ros-electric-arm-navigation | grep motion_planning_msgs` returns null. Is motion_planning_msgs deprecated?
Kei Okada gravatar image Kei Okada  ( 2011-08-04 18:50:39 -0600 )edit
@Kei Okada: : 1.0.0 Collapsed motion_planning_msgs, collision_environment_msgs, geometric_shapes_msgs, planning_environment_msgs, and move_arm_msgs into arm_navigation_msgs. Looks like the wiki is running against a different branch.
kwc gravatar image kwc  ( 2011-08-04 18:59:13 -0600 )edit
@AHornung: probably. can you file a ticket?
kwc gravatar image kwc  ( 2011-08-04 19:01:29 -0600 )edit
@kwc: done: Didn't exactly know which component to file it against (debian? rosbuild?), feel free to move / reassign
AHornung gravatar image AHornung  ( 2011-08-04 20:25:43 -0600 )edit
Also relevant is this FAQ entry: Perhaps it should be updated to mention roslocate.
Patrick Bouffard gravatar image Patrick Bouffard  ( 2011-08-05 07:47:03 -0600 )edit

answered 2011-08-04 17:50:31 -0600

tfoote gravatar image

The debian packages correspond to the stack names. If you browse to a package on the wiki you can find out what stack it is inside based on generated menu across the top of the page.

edit flag offensive delete link more

Question Tools


Asked: 2011-08-04 14:45:16 -0600

Seen: 935 times

Last updated: Aug 05 '11