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

openni_kinect install errors

asked 2011-05-31 04:52:30 -0600

Aether Robotics gravatar image

Hi there when i try to install openni_kinect for diamond back i get this error:

aether@aether:/opt/ros/diamondback/ros$ sudo aptitude install ros-diamondback-openni-kinect
[sudo] password for aether: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initialising package states... Done
Writing extended state information... Done
The following NEW packages will be installed:
  ros-diamondback-openni-kinect 
The following partially installed packages will be configured:
  nite-dev openni-dev ps-engine 
0 packages upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
Need to get 5,608kB of archives. After unpacking 19.5MB will be used.
Writing extended state information... Done
Get:1 http://packages.ros.org/ros/ubuntu/ lucid/main ros-diamondback-openni-kinect 0.2.1-s1306611764~lucid [5,608kB]
Fetched 5,608kB in 6s (906kB/s)                                                 
Selecting previously deselected package ros-diamondback-openni-kinect.
(Reading database ... 184411 files and directories currently installed.)
Unpacking ros-diamondback-openni-kinect (from .../ros-diamondback-openni-kinect_0.2.1-s1306611764~lucid_i386.deb) ...
Setting up openni-dev (0.1.0~lucid) ...
Illegal instruction
Illegal instruction
Illegal instruction
dpkg: error processing openni-dev (--configure):
 subprocess installed post-installation script returned error exit status 132
dpkg: dependency problems prevent configuration of nite-dev:
 nite-dev depends on openni-dev (= 0.1.0~lucid); however:
  Package openni-dev is not configured yet.
dpkg: error processing nite-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ps-engine:
 ps-engine depends on openni-dev (= 0.1.0~lucid); however:
  Package openni-dev is not configured yet.
dpkg: error processing ps-engine (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                            No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                        dpkg: dependency problems prevent configuration of ros-diamondback-openni-kinect:
 ros-diamondback-openni-kinect depends on ps-engine; however:
  Package ps-engine is not configured yet.
 ros-diamondback-openni-kinect depends on nite-dev; however:
  Package nite-dev is not configured yet.
 ros-diamondback-openni-kinect depends on openni-dev; however:
  Package openni-dev is not configured yet.
dpkg: error processing ros-diamondback-openni-kinect (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
                                                                    Errors were encountered while processing:
 openni-dev
 nite-dev
 ps-engine
 ros-diamondback-openni-kinect
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up openni-dev (0.1.0~lucid) ...
Illegal instruction
Illegal instruction
Illegal instruction
dpkg: error processing openni-dev (--configure):
 subprocess installed post-installation script returned error exit status 132
dpkg: dependency problems prevent configuration of ros-diamondback-openni-kinect:
 ros-diamondback-openni-kinect depends on openni-dev; however:
  Package openni-dev is not configured yet.
dpkg: error processing ros-diamondback-openni-kinect (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ps-engine:
 ps-engine depends on openni-dev (= 0.1.0~lucid); however:
  Package openni-dev is not configured yet.
dpkg: error processing ps-engine (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nite-dev:
 nite-dev depends on openni-dev (= 0.1.0~lucid); however:
  Package openni-dev is not configured yet.
dpkg: error processing nite-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 openni-dev
 ros-diamondback-openni-kinect
 ps-engine
 nite-dev

I have been trying to solve for days to no avail.

I'm running Ubuntu ... (more)

edit retag flag offensive close merge delete

5 Answers

Sort by ยป oldest newest most voted
1

answered 2011-05-31 05:42:12 -0600

dornhege gravatar image

This is your problem:

Setting up openni-dev (0.1.0~lucid) ... Illegal instruction Illegal instruction Illegal instruction

I'm not familiar with the hardware you are using. Is it i386 compatible? Illegal instruction sounds like an instruction that is not executable on the system.

edit flag offensive delete link more

Comments

yeah it is i386 compatable. i get illegal instruction msg when try to run rviz too: http://www.roboard.com/RB-110.htm
Aether Robotics gravatar image Aether Robotics  ( 2011-05-31 05:59:48 -0600 )edit
Can you try installing from source? I don't know if the Roboard supports things like SSE/2/3, but many of the debs are built with SSE support enabled.
Eric Perko gravatar image Eric Perko  ( 2011-05-31 06:03:23 -0600 )edit
tried installing from source same error with illegal instruction, get with rosrun too. looked into sse on roboard, it isnt supported
Aether Robotics gravatar image Aether Robotics  ( 2011-05-31 06:21:34 -0600 )edit
You installed both ROS and openni_kinect from source? Also, you may have to remove hardcoded SSE flags in things like openni_kinect, but I would think that rosrun should work just fine if you install Diamondback from source.
Eric Perko gravatar image Eric Perko  ( 2011-05-31 06:29:25 -0600 )edit
ok, will remove and try from source, how would i remove SSE flags? post on robosavvy forum (who sell roboard to europe and all UK where i am) telling you how to do it for openCV in windows.
Aether Robotics gravatar image Aether Robotics  ( 2011-05-31 07:34:36 -0600 )edit
You would need to look in the CMakeLists.txt of each package. Hopefully when you compile from source you will automatically stumble upon that (although you can crosscompile with g++).
dornhege gravatar image dornhege  ( 2011-05-31 23:24:51 -0600 )edit
See some of the other questions around (especially ones for ARM since they also have to remove things like SSE flags). e.g. http://answers.ros.org/question/130/openni-compilation-error-diamondback-version .
Eric Perko gravatar image Eric Perko  ( 2011-06-01 05:17:12 -0600 )edit
0

answered 2011-10-09 18:58:51 -0600

karthik gravatar image

Hi, pls refer to the "http://answers.ros.org/question/1892/openni_kinect-installation-issues-with" where i posted the trick that solved it for me.

edit flag offensive delete link more
0

answered 2011-10-09 12:15:39 -0600

walt gravatar image

I'm running into a very similar problem running ros-electric on ubuntu natty (11.04)

Did you determine the solution to this problem?

walt@T5500:~$ sudo apt-get install openni-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
openni-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up openni-dev (1.1.0.41~natty) ...
Failed: Failed to write to the file!
dpkg: error processing openni-dev (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of nite-dev:
 nite-dev depends on openni-dev (>= 1.1.0.41~natty); however:
  Package openni-dev is not configured yet.
dpkg: error processing nite-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ps-engine:
 ps-engine depends on openni-dev (>= 1.1.0.41~natty); however:
  Package openni-dev is not configured yet.
dpkg: error processing ps-engine (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ros-electric-openni-kinect:
 ros-electric-openni-kinect depends on ps-engine; however:
  Package ps-engine is not configured yet.
 ros-electric-openni-kinect depends on nite-dev; however:
  Package nite-dev is not configured yet.
 ros-electric-openni-kinect depends on openni-dev; however:
  Package openni-dev is not configured yet.
dpkg: error processing ros-electric-openni-kinect (--configure):
 dependency problems - leaving unconfNo apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already igured
Errors were encountered while processing:
 openni-dev
 nite-dev
 ps-engine
 ros-electric-openni-kinect
E: Sub-process /usr/bin/dpkg returned an error code (1)
walt@T5500:~$
edit flag offensive delete link more
0

answered 2011-08-16 05:40:01 -0600

karthik gravatar image

updated 2011-08-16 05:46:30 -0600

Hi, I have ubuntu 10.10. I am getting a similar problem with the following errors when i try to install openni-kinect. But i don't get any illegal exception as mentioned above. I see that openni-dev, nite-dev, ps-engine and ros-diamondback-openni-kinect are depended on each other. Can somebody tell me how to configure them so as to complete my installation. Thanks in advance.

 Setting up openni-dev (1.1.0.41~maverick) ...
Failed: Failed to write to the file!
dpkg: error processing openni-dev (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of nite-dev:
 nite-dev depends on openni-dev (>= 1.1.0.41~maverick); however:
  Package openni-dev is not configured yet.
dpkg: error processing nite-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ps-engine:
 ps-engine depends on openni-dev (>= 1.1.0.41~maverick); however:
  Package openni-dev is not configured yet.
dpkg: error processing ps-engine (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ros-diamondback-openni-kinect:
 ros-diamondback-openni-kinect depends on ps-engine; however:
  Package ps-engine is not configured yet.
 ros-diamondback-openni-kinect depends on nite-dev; however:
  Package nite-dev is not configured yet.
 ros-diamondback-openni-kinect depends on openni-dev; however:
  Package openni-dev is not configured yet.
dpkg: error processing ros-diamondback-openni-kinect (--configure):
 dependency probNo apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                            No apport report written because MaxReports is reached already
                                                                                                                          lems - leaving unconfigured


**Errors were encountered while processing:
 openni-dev
 nite-dev
 ps-engine
 ros-diamondback-openni-kinect
E: Sub-process /usr/bin/dpkg returned an error code (1)**
edit flag offensive delete link more

Comments

This is a different error, you can open a new question for that. Is your harddisk full?
dornhege gravatar image dornhege  ( 2011-08-16 05:57:01 -0600 )edit
Ok i will post it as a new question. My harddisk is not full.
karthik gravatar image karthik  ( 2011-08-16 22:26:33 -0600 )edit
0

answered 2012-09-22 22:57:01 -0600

updated 2012-09-22 23:12:10 -0600

I am ALSO having the same exact issue when trying to install ros-fuerte-turtlebot, and none of the proposed answers have suceeded in my case. Thinkpad T43 Pentium M running Xubuntu 12.04 Precise. Here's my output for "~$ sudo apt-get install ros-fuerte-turtlebot", formatting intact (YES the program does run over its own words). Any help is MUCH appreciated:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  nite-dev openni-dev ps-engine ros-fuerte-openni-camera ros-fuerte-openni-kinect ros-fuerte-openni-launch
  ros-fuerte-openni-tracker
The following NEW packages will be installed:
  nite-dev openni-dev ps-engine ros-fuerte-openni-camera ros-fuerte-openni-kinect ros-fuerte-openni-launch
  ros-fuerte-openni-tracker ros-fuerte-turtlebot
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/17.6 MB of archives.
After this operation, 24.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously unselected package openni-dev.
(Reading database ... 253589 files and directories currently installed.)
Unpacking openni-dev (from .../openni-dev_1.5.2.23~precise_i386.deb) ...
Selecting previously unselected package nite-dev.
Unpacking nite-dev (from .../nite-dev_1.3.1.5~precise_i386.deb) ...
Selecting previously unselected package ps-engine.
Unpacking ps-engine (from .../ps-engine_5.1.0.41~precise_i386.deb) ...
Selecting previously unselected package ros-fuerte-openni-camera.
Unpacking ros-fuerte-openni-camera (from .../ros-fuerte-openni-camera_1.8.0-s1347221152~precise_i386.deb) ...
Selecting previously unselected package ros-fuerte-openni-launch.
Unpacking ros-fuerte-openni-launch (from .../ros-fuerte-openni-launch_1.8.1-s1347221973~precise_i386.deb) ...
Selecting previously unselected package ros-fuerte-openni-tracker.
Unpacking ros-fuerte-openni-tracker (from .../ros-fuerte-openni-tracker_0.1.0-s1347220765~precise_i386.deb) ...
Selecting previously unselected package ros-fuerte-openni-kinect.
Unpacking ros-fuerte-openni-kinect (from .../ros-fuerte-openni-kinect_0.5.0-s1347222671~precise_i386.deb) ...
Selecting previously unselected package ros-fuerte-turtlebot.
Unpacking ros-fuerte-turtlebot (from .../ros-fuerte-turtlebot_1.0.2-s1347223572~precise_i386.deb) ...
Setting up openni-dev (1.5.2.23~precise) ...
Illegal instruction (core dumped)
dpkg: error processing openni-dev (--configure):
 subprocess installed post-installation script returned error exit status 132
dpkg: dependency problems prevent configuration of nite-dev:
 nite-dev depends on openni-dev (>= 1.5.2.23~precise); however:
  Package openni-dev is not configured yet.
dpkg: error processing nite-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ps-engine:
 ps-engine depends on openni-dev (>= 1.5.2.23~precise); however:
  Package openni-dev is not configured yet.
dpkg: error processing ps-engine (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ros-fuerte-openni-camera:
 ros-fuerte-openni-camera depends on openni-dev; however:
  Package openni-dev is not configured yet.
 ros-fuerte-openni-camera depends on ps-engine; however:
  Package ps-engine is not configured yet.
dpkg: error processing ros-fuerte-openni-camera (--configure):
 dependency prNo apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                        No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                     No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                  No apport report written because MaxReports is reached already
                   No apport report written because MaxReports is reached already
                                                                                 No apport report written because MaxReports is reached already
                  No apport report written because MaxReports is reached already
                                                                                oblems - leaving unconfigured
dpkg: dependency problems prevent configuration of ros-fuerte-openni-launch:
 ros-fuerte-openni-launch depends on ros-fuerte-openni-camera (= 1.8.0-s1347221152~precise); however:
  Package ros-fuerte-openni-camera is not configured yet.
dpkg: error processing ros-fuerte-openni-launch (--configure):
 dependency problems ...
(more)
edit flag offensive delete link more

Comments

Hey DGonz, you might try looking for a more recent question or even asking a new one. This question is from the diamondback release, and answers for fuerte will get all jumbled up with the original answers.

thebyohazard gravatar image thebyohazard  ( 2012-09-24 03:29:58 -0600 )edit

Question Tools

Stats

Asked: 2011-05-31 04:52:30 -0600

Seen: 2,505 times

Last updated: Sep 22 '12