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

depend on debian package not in rosdep database

asked 2018-10-23 10:48:37 -0600

rubicks gravatar image

updated 2018-10-23 14:16:18 -0600

gvdhoorn gravatar image

How does one get rosdep to install an arbitrary debian package that looks like this...

  Installed: 2.0.1-1ubuntu1
  Candidate: 2.0.1-1ubuntu1
  Version table:
 *** 2.0.1-1ubuntu1 500
        500 xenial-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     2.0.1-1 500
        500 xenial/universe amd64 Packages

...and is _unreferenced_ by rosdistro ?

Is my only recourse to contribute a rosdep rule to a rosdistro fork?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-10-23 20:50:27 -0600

rubicks gravatar image

I've got this working for me:

cat >/srv/foobar.yaml <<EOF
  ubuntu: [foobar]

cat >/etc/ros/rosdep/sources.list.d/00-foobar.list <<EOF
yaml file:///srv/foobar.yaml
edit flag offensive delete link more

answered 2018-10-23 12:04:05 -0600

ahendrix gravatar image

Yes; you should contribute a rosdep rule. This typically only takes a few minutes to open a PR to the rosdistro repository and the maintainers generally respond within an hour or a few hours.

edit flag offensive delete link more


+1 for contributing a rule in general. If you don't want to do it publicly you can add arbitrary rosdep sources for your private deployments but that makes it harder to share than just listing it publicly. Contributing guide:

tfoote gravatar image tfoote  ( 2018-10-23 13:22:00 -0600 )edit
tfoote gravatar image tfoote  ( 2018-10-23 13:22:04 -0600 )edit

Question Tools



Asked: 2018-10-23 10:48:37 -0600

Seen: 206 times

Last updated: Oct 23 '18