Ask Your Question
1

which deb package contains ros package X?

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

Kei Okada gravatar image

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

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 packages.ros.org

$ apt-file update
Ignoring source without Contents File:
  http://www.openrtm.org/pub/Linux/ubuntu/dists/lucid/Contents-amd64.gz
Ignoring source without Contents File:
  http://packages.ros.org/ros/ubuntu/dists/lucid/Contents-amd64.gz
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

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

kwc gravatar image

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

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. http://www.ros.org/wiki/motion_planning_msgs . 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:

https://code.ros.org/svn/ros/stacks/ros_release/trunk/rosinstall/scripts/roslocate

./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.
URL: http://ros.org/wiki/motion_planning_msgs

Update:

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

Comments

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 -0500 )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 -0500 )edit
@Kei Okada: http://www.ros.org/wiki/arm_navigation/ChangeList : 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 -0500 )edit
@AHornung: probably. can you file a ticket?
kwc gravatar image kwc  ( 2011-08-04 19:01:29 -0500 )edit
@kwc: done: https://code.ros.org/trac/ros/ticket/3623 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 -0500 )edit
Also relevant is this FAQ entry: http://www.ros.org/wiki/FAQ#How_do_I_install_ROS_packages_from_.deb_files.3F. Perhaps it should be updated to mention roslocate.
Patrick Bouffard gravatar image Patrick Bouffard  ( 2011-08-05 07:47:03 -0500 )edit
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 358 times

Last updated: Aug 05 '11