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

Issues installing openni packages in ROS Groovy/Hydro

asked 2013-09-11 09:05:18 -0500

updated 2013-09-11 11:35:31 -0500

Hi everyone,

As per the last update of ROS Hydro, I have compatibility issues with OpenNI packages. It seems to me that not all packages released in the standard distribution are using OpenNI as a system dependency, so I keep getting conflicts in apt-get.

I just uninstalled ROS Hydro and Groovy, as well as OpenNI. When reinstalling ROS Hydro, I see the package "openni-dev" is being installed along with everything else. When I try to install "ros-hydro-openni-*", however, I get the following error:

georgebrindeiro@r2d2:~$ sudo apt-get install ros-hydro-openni-*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'ros-hydro-openni-launch' for regex 'ros-hydro-openni-*'
Note, selecting 'ros-hydro-openni-camera' for regex 'ros-hydro-openni-*'
Note, selecting 'ros-hydro-openni-tracker' for regex 'ros-hydro-openni-*'
Note, selecting 'ros-hydro-openni2-camera' for regex 'ros-hydro-openni-*'
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 to resolve the situation:

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
 ros-hydro-openni-tracker : Depends: libopenni0 but it is not going to be installed
                            Depends: libopenni-dev but it is not going to be installed
                            Depends: libopenni-nite-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.

libopenni* and openni-dev seem to be mutually exclusive. If I try to remove openni-dev, however, apt-get requires me to remove PCL and loads of packages. I am assuming the problem is with the openni packages... How do we solve this?

EDIT: This is also happening with ROS Groovy

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-09-19 04:37:44 -0500

Hi, I too had the same issues. it was caused by an older version of pcl standalone installation. So i uninstalled all PCL, Openni packages, then removed a ppa of pcl from synaptic. Now it works fine

edit flag offensive delete link more

Comments

That's exactly what I did yesterday and it worked fine. Thanks for documenting the answer though, I had done it only on the associated github issue.

georgebrindeiro gravatar image georgebrindeiro  ( 2013-09-19 09:00:47 -0500 )edit

hi. i'm just a kinux/ros newbie. could you tell how to do all this? thanks.

ubisum gravatar image ubisum  ( 2013-10-22 23:10:00 -0500 )edit

Is there an option where I don't do that? I need my current PCL and Openni installation... Can you link to the github bug you reported?

Seanny123 gravatar image Seanny123  ( 2013-11-04 20:14:40 -0500 )edit

Seanny123, here's the GitHub issue I reported: https://github.com/ros-drivers/openni_camera/issues/19 (ROS Answers keeps adding a trailing tag to my link, no idea why)

georgebrindeiro gravatar image georgebrindeiro  ( 2013-11-06 09:01:13 -0500 )edit

Why do you need your current PCL/OpenNI installations, though? If your problem is unrelated, I suggest you create a new issue.

georgebrindeiro gravatar image georgebrindeiro  ( 2013-11-06 09:04:10 -0500 )edit
1

can you describe the steps to remove the standalone version of pcl . The PCL page does not seem to have a good tutorial on removing pcl. Thanks

AlexR gravatar image AlexR  ( 2015-02-04 07:42:33 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-09-11 09:05:18 -0500

Seen: 2,674 times

Last updated: Sep 19 '13