ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies:
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 sourceE: Package 'liburdfdom-headers-dev' has no installation candidate
I tried installing not using the source but got equally frustrating errors there.
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.
I had a similar problem when running
rosdep install --from-paths src --ignore-src --rosdistro kinetic -y
onMint 18.3
, then I executedrosdep install --from-paths src --ignore-src --rosdistro kinetic -y --os=ubuntu:xenial
and worked for me.I found this tip
--os=ubuntu:xenial
here: https://gitter.im/mavlink/mavros/arch...