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

ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies:

asked 2015-06-16 09:47:06 -0500

sethdrew gravatar image

updated 2015-06-16 10:09:47 -0500

gvdhoorn gravatar image

When I run the command from this tutorial

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

I get

ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies:

image_geometry:  No definition of [libopencv-dev] for OS version [precise]
urdf: No definition of [liburdfdom-headers-dev] for OS version [precise]   
collada_parser: No definition of [liburdfdom-headers-dev] for OS version [precise]   
image_view: No definition of [libopencv-dev] for OS version [precise]  
rosconsole_bridge: No definition of [libconsole-bridge-dev] for OS version [precise]
cv_bridge: No definition of [libopencv-dev] for OS version [precise]
class_loader: No definition of [libconsole-bridge-dev] for OS version [precise]
image_rotate: No definition of [libopencv-dev] for OS version [precise]
roslz4: No definition of [lz4] for OS version [precise]
collada_urdf: No definition of [liburdfdom-headers-dev] for OS version [precise]
roslisp: No definition of [libconsole-bridge-dev] for OS version [precise]  
rosbag_storage: No definition of [libconsole-bridge-dev] for OS version [precise]
stereo_image_proc: No definition of [libopencv-dev] for OS version [precise]  
urdf_parser_plugin: No definition of [liburdfdom-headers-dev] for OS version [precise]
cpp_common: No definition of [libconsole-bridge-dev] for OS version [precise]
geometric_shapes: No definition of [libconsole-bridge-dev] for OS version [precise]
camera_calibration: No definition of [libopencv-dev] for OS version [precise]
tf2: No definition of [libconsole-bridge-dev] for OS version [precise]

I am installing this on an Ubuntu server running 12.04, and when I try to manually install the packages one by one:

sudo apt-get install liburdfdom-headers-dev

I get

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package liburdfdom-headers-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'liburdfdom-headers-dev' has no installation candidate

I tried installing not using the source but got equally frustrating errors there.

edit retag flag offensive close merge delete

Comments

The problem with OpenCV is that we packaged our own version of OpenCV on Precise, but after Precise we get it from apt-get. So Jade (which came after Precise) try's to get it from apt-get, but it's not there.

William gravatar image William  ( 2015-06-16 13:15:22 -0500 )edit

I had a similar problem when running rosdep install --from-paths src --ignore-src --rosdistro kinetic -y on Mint 18.3, then I executed rosdep install --from-paths src --ignore-src --rosdistro kinetic -y --os=ubuntu:xenial and worked for me.

Ruben Alves gravatar image Ruben Alves  ( 2018-04-03 15:13:10 -0500 )edit

I found this tip --os=ubuntu:xenial here: https://gitter.im/mavlink/mavros/arch...

Ruben Alves gravatar image Ruben Alves  ( 2018-04-03 15:14:10 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-06-16 10:07:16 -0500

gvdhoorn gravatar image

updated 2015-06-16 10:12:20 -0500

This will probably not be the answer you're looking for, but Jade is not officially supported on Ubuntu Precise. Unresolvable dependencies are exactly the kind of issue you run into then. From the page you linked:

ROS Jade supports Trusty, Utopic, and Vivid. Other platforms are possible to use but are not expected to work out of the box.

REP-003 confirms this: "Support for: Ubuntu Trusty (14.04), Ubuntu Utopic (14.10), Ubuntu Vivid (15.04)".

The packages.ubuntu.com page for liburdfdom-headers-dev shows that it is only available for Trusty and up, hence the error you encountered trying to install it using apt-get.


Edit: alternatives to attempting a full from-source install could be using a chroot (see wiki/InstallingIndigoInChroot) or using docker with ROS.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-06-16 09:47:06 -0500

Seen: 6,190 times

Last updated: Jun 16 '15