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

ros-distro-openni-camera dependencies problem on rgbdslam

asked 2014-05-05 14:21:09 -0600

updated 2014-05-05 14:22:04 -0600

Hi,

 I tried rgbdslam both on fuerte version(http://wiki.ros.org/rgbdslam) and hydro version(http://felixendres.github.io/rgbdslam_v2/) following their separate instructions. But when I install openni-camera and openni-launch following the instructions from (http://wiki.ros.org/openni_camera?distro=fuerte)

$sudo apt-get install ros-<rosdistro>-openni-camera

$sudo apt-get install ros-<rosdistro>-openni-launch

The following errors occurred: For fuerte version:

The following packages have unmet dependencies: ros-fuerte-openni-camera : Depends: libopenni-dev but it is not going to be installed Depends: libopenni-sensor-primesense-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages.

For hydro version:

The following packages have unmet dependencies: ros-hydro-openni-camera : Depends: libopenni0 but it is not going to be installed Depends: libopenni-dev but it is not going to be installed Depends: libopenni-sensor-primesense-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages.

Thank you so much in advance!
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-05-05 14:30:40 -0600

updated 2014-05-05 19:24:00 -0600

It seems that we have similar one: http://lists.ros.org/pipermail/ros-re...

https://github.com/ros-drivers/openni...

@tfoote said Make sure that you don't have openni-dev installed. and he thought it conflicts with libopenni-dev.

So I used $sudo apt-get --purge remove openni-dev

Then $ sudo apt-get install ros-hydro-openni-camera works, but when I try to $ sudo apt-get install ros-hydro-openni-launch, it said that:

Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help resolve the situation:

The following packages have unmet dependencies: ros-hydro-openni-launch : Depends: ros-hydro-rgbd-launch but it is not going to be installed E: Unable to correct problems, you have held broken packages.

From this website ( http://wiki.ros.org/openni_launch ) , we can see that:

Starting with ROS Hydro, all the functionality of openni_launch has been moved to rgbd_launch, in order to allow other drivers such as libfreenect (freenect_launch) to use the same code.

edit flag offensive delete link more

Comments

Finally it works when I reinstalled Ubuntu 12.04 and Hydro!!!

Lili Meng gravatar image Lili Meng  ( 2014-05-06 20:24:02 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-05-05 14:21:09 -0600

Seen: 553 times

Last updated: May 05 '14