apt-get install openni-dev removes most of ROS Hydro [closed]
I'm in a situation where I need to install openni-dev on Ubuntu with a pre-existing and working installation of Hydro. The problem is that when I run sudo apt-get install openni-dev
, I get this message saying that it will be removing a lot of my ROS packages. I accepted once and my ROS install was completely broken. Is there any way to get around this weird behaviour?
The following packages were automatically installed and are no longer required:
ros-hydro-rqt-runtime-monitor ros-hydro-qt-gui-py-common
libpcl-surface-1.7-dev libbullet-dev ros-hydro-gmapping ros-hydro-self-test
libsm-dev ros-hydro-opencv2 libpoconet9 ros-hydro-rqt-reconfigure
libswscale2 ros-hydro-move-base-msgs ros-hydro-rqt-robot-dashboard
ros-hydro-common-tutorials libcaca-dev ros-hydro-collada-urdf
libavformat-dev ros-hydro-roslisp python-pyside.qtopengl ros-hydro-rosbag
libpocodata9 ros-hydro-robot-model ros-hydro-cv-bridge
ros-hydro-rosbag-migration-rule libogre-1.7.4 libp11-kit-dev libice-dev
libjpeg-turbo8-dev libpcl-surface-1.7 libavutil51 libxaw7-dev
ros-hydro-rqt-robot-steering libxrandr-dev ros-hydro-ros-comm
libpcl-features-1.7-dev yaml-cpp ros-hydro-rqt-launch
ros-hydro-vision-opencv ros-hydro-image-common libslang2-dev
ros-hydro-husky-interactive-markers python-sphinx ros-hydro-random-numbers
libxdamage-dev libpocosqlite9 python-matplotlib libzzip-dev
ros-hydro-python-orocos-kdl ros-hydro-turtle-actionlib libgnomecanvas2-0
ros-hydro-pluginlib-tutorials ros-hydro-image-proc libplayerdrivers3.0
python3.2-minimal libpocomysql9 libopencv-imgproc2.3
python-pyside.qtdeclarative ros-hydro-smclib libfreeimage3 libpoco-dev
libassimp2 libilmbase6 ros-hydro-kdl-parser ros-hydro-rqt-gui-py
libpcl-outofcore-1.7 libpcl-recognition-1.7 libpocoutil9
python-pyside.phonon librtmp-dev libgpg-error-dev libpyside-py3-1.1
libplayerc3.0 python-epydoc libxml2-utils ros-hydro-media-export
ros-hydro-tf2-bullet ros-hydro-message-filters ros-hydro-timestamp-tools
ros-hydro-driver-common libcppunit-1.12-1 libpcl-geometry-1.7-dev
ros-hydro-rosnode ros-hydro-stage ros-hydro-rqt-action sphinx-doc
libxfixes-dev libplayercommon3.0 python-pyside.qtuitools
libpcl-registration-1.7-dev ros-hydro-rosconsole-bridge liblodo3.0
libpmap3.0 ros-hydro-stage-ros libasound2-dev libavutil-dev liblua5.1-0-dev
ros-hydro-theora-image-transport libtbb2 libgnutls-openssl27
ros-hydro-rosmsg ros-hydro-rqt-plot python-matplotlib-data libavcodec-dev
ros-hydro-smach-ros libpython3.2 ros-hydro-control-msgs libtar0 phonon
ros-hydro-laser-pipeline libqwt5-qt4 gazebo ros-hydro-tf2-msgs libavfilter2
libtiff4-dev ros-hydro-fake-localization x11proto-xinerama-dev
ros-hydro-visualization-tutorials ros-hydro-stereo-image-proc
ros-hydro-octomap libgl2ps0 libncurses5-dev ros-hydro-camera-info-manager
ros-hydro-pcl-msgs ros-hydro-tf2-tools x11proto-render-dev
ros-hydro-std-srvs libav-tools libxi-dev ros-hydro-urdfdom-headers
libsdl-image1.2-dev texlive-fonts-recommended libpocoodbc9 libpixman-1-dev
libpcl-features-1.7 libshiboken-dev sbcl libvtk5.8-qt4 libavdevice53
docgenerator ros-hydro-rqt-nav-view ros-hydro-ros-full libqwt6
ros-hydro-nodelet ros-hydro-compressed-image-transport ros-hydro-roswtf
ros-hydro-actionlib collada-dom-dev ros-hydro-rosbash
ros-hydro-polled-camera ros-hydro-rosdoc-lite libqhull-dev
ros-hydro-interactive-marker-tutorials libtiffxx0c2 libfontconfig1-dev
libavahi-client-dev liblcms1-dev libogg-dev ros-hydro-image-view
python-qt4-dev libgl2ps-dev python3.2 x11proto-randr-dev ros-hydro-tf2-kdl
libpcl-tracking-1.7 libcegui-mk2-0.7.5 ros-hydro-rqt-py-console
libxinerama-dev ros-hydro-turtlesim libavcodec53 libcurl4-openssl-dev
ros-hydro-camera-calibration-parsers ros-hydro-executive-smach
ros-hydro-tf2-geometry-msgs ros-hydro-actionlib-tutorials
ros-hydro-rqt-pose-view ros-hydro-topic-tools libreadline6-dev
libpcl-tracking-1.7-dev libgnutlsxx27 libusb-1.0-0-dev python-psutil
libopencv-core2.3 libpcl-search-1.7-dev ros-hydro-rospy-tutorials
libswscale-dev libtheora-dev libatk1.0-dev libpyside1.1 python-pyside.qttest
ros-hydro-rqt-bag libprotobuf-dev ros-hydro-rviz-plugin-tutorials
ros-hydro-actionlib-msgs ros-hydro-rqt-publisher collada-dom2.4-dp-base
ros-hydro-rqt-robot-plugins libsdl1.2-dev ros-hydro-rqt-rviz
libjs-underscore sdformat libsdl-image1.2 ros-hydro-diagnostic-msgs
python-qt4-gl ros-hydro-trajectory-msgs ros-hydro-urdf-tutorial
libgdk-pixbuf2.0-dev ros-hydro-rqt-dep ros-hydro-rostest
ros-hydro-eigen-conversions ros-hydro-openslam-gmapping libjasper-dev tipa
python-pyside.qtwebkit ros-hydro-interactive-markers libpcl-keypoints-1.7
libtinfo-dev libpcl-apps-1.7 ros-hydro-tf2-ros libapiextractor-dev
x11proto-fixes-dev python-tz ros-hydro-rosboost-cfg
libcairo-script-interpreter2 ros-hydro-map-server ros-hydro-map-msgs
libpcl-keypoints-1.7-dev libfltk1.1 libfltk1.3 libgenrunner-dev
python-pyside.qtcore libfreeimage-dev libsilly ros-hydro-bond-core
ros-hydro-rqt-py-common ros-hydro-rosservice
ros-hydro-compressed-depth-image-transport libplayerjpeg3.0
ros-hydro-rqt-service-caller ros-hydro-shape-msgs ros-hydro-rqt-gui
libjpeg-dev python-pyside.qtnetwork ros-hydro-rqt-common-plugins libflann1
fluid python-pyside.qtgui ros-hydro-rqt-topic libvtk5.8
ros-hydro-class-loader libvpx1 ros-hydro-image-transport-plugins
ros-hydro-husky-description libcppunit-dev ros-hydro-robot-state-publisher
libxt-dev ros-hydro-qt-dotgraph ros-hydro-eigen-stl-containers libxmu-dev
x11proto-scrnsaver-dev ros-hydro-turtle-tf libgenrunner0.6 libopenexr6
python-kitchen libnetcdf-dev ros-hydro-common-msgs libidn11-dev
libfltk-forms1.3 libtasn1-3-dev sphinx-common
ros-hydro-joint-state-publisher libeigen3-dev x11proto-damage-dev
libhdf5-serial-1.8.4 ros-hydro-husky-viz ros-hydro-nodelet-tutorial-math
libfltk-images1.3 libgeos-c1 ros-hydro-laser-geometry libogre-dev
ros-hydro-rqt-gui-cpp ros-hydro-rqt-logger-level ros-hydro-rqt-msg
ros-hydro-geometry-experimental ros-hydro-tf-conversions ffmpeg
ros-hydro-rosunit libpcl-octree-1.7-dev libpostproc52
ros-hydro-resource-retriever libglib2.0-dev libplayercore3.0
texlive-fonts-recommended-doc hddtemp ros-hydro-robot
ros-hydro-librviz-tutorial ros-hydro-rqt-console libxcb-shm0-dev libxml2-dev
libcairo2-dev libpococrypto9 ros-hydro-rqt-tf-tree ros-hydro-rqt-bag-plugins
ros-hydro-orocos-kdl libxpm-dev libzzip-0-13 libpcl-people-1.7 tcl8.5-dev
libpango1.0-dev ros-hydro-geometry-tutorials libfreetype6-dev libgsm1
ros-hydro-diagnostic-aggregator robot-player ros-hydro-amcl
ros-hydro-urdf-parser-plugin libvtk5-dev ros-hydro-rviz-python-tutorial
ros-hydro-image-geometry shiboken libtbb-dev libphonon4 ros-hydro-rqt-srv
python-pyside.qtsql ros-hydro-rqt-top ros-hydro-qt-gui-core
ros-hydro-rqt-web libpcl-common-1.7-dev ros-hydro-ros-tutorials
python-pyside.qtsvg python-pyside.qthelp ros-hydro-rqt-graph
libschroedinger-1.0-0 libpocoxml9 libavformat53 ros-hydro-qt-gui-app
ros-hydro-visualization-msgs ros-hydro-shape-tools ros-hydro-rosbag-storage
libdc1394-22 collada-dom2.4-dp-dev libgcrypt11-dev ros-hydro-rqt-shell
ros-hydro-roscreate ros-hydro-rqt-robot-monitor ros-hydro-bondcpp
ros-hydro-bfl libpcl-search-1.7 libassimp-dev ros-hydro-kdl-conversions
ros-hydro-rqt-moveit ...
Are you sure you need
openni-dev
? I believe that package has been renamedlibopenni-dev
which you already have installed. It seems that is likely the conflicting package. https://wiki.ccs.neu.edu/display/GPC/...When I'm confronted with situations like this, I find that using
aptitude
instead ofapt-get
often gives me a better understanding of why I am having conflicts, and it presents me with several alternatives for how to resolve the conflicts.ill give aptitude a go, I'm trying to install the python-pcl package, and its complaining. ill also see whether I can modify the build of that to look for libopenniv-dev.
from aptitude: The following packages have unmet dependencies: libopenni0 : Conflicts: openni-dev but 1.3.2.1-4+precise2 is to be installed.
That link you posted has resolved the openni dependency, I'll try figure the rest out.