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

Skip dependencies with rosdep install?

asked 2014-07-30 21:21:44 -0600

updated 2021-06-16 09:29:18 -0600

lucasw gravatar image

Hi I've built a number of ros installations on ubuntu for armhf from source, from 12.04 to 14.04 however when running rosdep for package dependencies:

rosdep install --from-paths src --ignore-src --rosdistro indigo -y

I usually hit problems as some dependencies (sbcl, yaml-cpp to name a few) are not built for armhf. I can build and install these from source however rosdep is usually not satisfied and can't find or substitute the built packages. Additionally its pretty hard to find the source packages that depend on these so that the package.xml may be modified.

Is there some way to stop rosdep from searching for particular packages or detect installations that didn't come from apt-get or as dpkg or help it find the installed dependency?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2014-07-31 01:17:04 -0600

ahendrix gravatar image

rosdep has the -r option to keep going if packages can't be found, and the --skip-keys option which makes it assume that packages are already installed.

For more details, see the built-in help: rosdep -h

edit flag offensive delete link more

Comments

That's great and what I needed. Even provided a convenient list of missed dependencies at the end. Thanks very much.

PeterMilani gravatar image PeterMilani  ( 2014-07-31 03:35:49 -0600 )edit

This is an example of skipping gazebo and rviz (the keys are the same as what is in a package.xml entries, not the name of the package to be installed, not gazebo11 and ros-noetic-rviz in this case)

rosdep install --from-paths src --ignore-src --skip-keys="gazebo rviz" -r -s
lucasw gravatar image lucasw  ( 2021-06-16 09:27:15 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2014-07-30 21:21:44 -0600

Seen: 2,062 times

Last updated: Jun 16 '21