Ask Your Question
0

failed dependencies when install diamondback

asked 2011-08-10 01:41:45 -0500

sam gravatar image sam
1455 163 194 216

updated 2011-08-25 07:10:57 -0500

I have tried sudo apt-get install ros-diamondback-pr2-desktop successfully

 sam@/opt/ros/diamondback/stacks/laser_drivers/hokuyo_node$ sudo apt-get      install ros-diamondback-pr2-desktop
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 ros-diamondback-pr2-desktop is already the newest version.
 The following packages were automatically installed and are no longer      required:
   libantlr-dev python-sip4-dev
 Use 'apt-get autoremove' to remove them.
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 sam@/opt/ros/diamondback/stacks/laser_drivers/hokuyo_node$

When I run

 sudo apt-get install ros-diamondback-*

it shows

  ros-diamondback-graspit-simulator : Depends: libqt4-sql-psql but it is not      going to be installed
  ros-diamondback-warehousewg : Depends: xulrunner-dev but it is not going      to be installed
 E: Broken packages

My /etc/apt/sources.list:

 sam@/home/sam/code/ros/gazebo/debug$ cat /etc/apt/sources.list
 # deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release amd64      (20101007)]/ maverick main restricted
 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade      to
 # newer versions of the distribution.

 deb http://archive.ubuntu.com/ubuntu maverick main restricted
 deb-src http://archive.ubuntu.com/ubuntu maverick main restricted

 ## Major bug fix updates produced after the final release of the
 ## distribution.

 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the      Ubuntu
 ## team. Also, please note that software in universe WILL NOT receive any
 ## review or updates from the Ubuntu security team.
 deb http://archive.ubuntu.com/ubuntu maverick universe
 deb-src http://archive.ubuntu.com/ubuntu maverick universe

 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the      Ubuntu 
 ## team, and may not be under a free licence. Please satisfy yourself as to 
 ## your rights to use the software. Also, please note that software in 
 ## multiverse WILL NOT receive any review or updates from the Ubuntu
 ## security team.
 deb http://archive.ubuntu.com/ubuntu maverick multiverse
 deb-src http://archive.ubuntu.com/ubuntu maverick multiverse

 ## Uncomment the following two lines to add software from the 'backports'
 ## repository.
 ## N.B. software from this repository may not have been tested as
 ## extensively as that contained in the main release, although it includes
 ## newer versions of some applications which may provide useful features.
 ## Also, please note that software in backports WILL NOT receive any review
 ## or updates from the Ubuntu security team.
 # deb http://tw.archive.ubuntu.com/ubuntu/ maverick-backports main      restricted universe multiverse
 # deb-src http://tw.archive.ubuntu.com/ubuntu/ maverick-backports main      restricted universe multiverse

 ## Uncomment the following two lines to add software from Canonical's
 ## 'partner' repository.
 ## This software is not part of Ubuntu, but is offered by Canonical and the
 ## respective vendors as a service to Ubuntu users.
 # deb http://archive.canonical.com/ubuntu maverick partner
 # deb-src http://archive.canonical.com/ubuntu maverick partner

 ## This software is not part of Ubuntu, but is offered by third-party
 ## developers who want to ship their latest software.
 deb http://extras.ubuntu.com/ubuntu maverick main
 deb-src http://extras.ubuntu.com/ubuntu maverick main

I run 'dpkg -s xulrunner-dev libqt4-sql-psql':

 sam@/home/sam/code/ros/gazebo/debug$ dpkg -s xulrunner-dev      libqt4-sql-psql
 Package `xulrunner-dev' is not installed and no info is available.

 Package `libqt4-sql-psql' is not installed and no info is available.
 Use dpkg --info (= dpkg-deb --info) to examine archive files,
 and dpkg --contents (= dpkg-deb --contents) to list their contents.

 sam@/home/sam/code/ros/gazebo/debug$

I run 'sudo apt-get install libqt4-sql-psql':

 sam@/home/sam/code/ros/sam_nav/ira_navigation/teleop_ira_robot/launch$      export LANG=en_US

 sam@/home/sam/code/ros/sam_nav/ira_navigation/teleop_ira_robot/launch$      export LC_MESSAGE=en_US.UTF8

 sam@/home/sam/code/ros/sam_nav/ira_navigation/teleop_ira_robot/launch$      sudo apt-get install libqt4-sql-psql
 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 to resolve the situation:

 The following packages have unmet dependencies:
  libqt4-sql-psql : Depends: libqt4-sql (= 4:4.7.0-0ubuntu4) but      4:4.7.0-0ubuntu4.3 is to be installed
                    Depends: libqtcore4 (= 4:4.7.0-0ubuntu4) but      4:4.7.0-0ubuntu4.3 is to be installed
 E: Broken packages

 sam@/home/sam/code/ros/sam_nav/ira_navigation/teleop_ira_robot/launch$

I run 'sudo dpkg -l | grep qt4':

 sam@/opt/ros/diamondback/stacks/ros_comm/tools/roslaunch/src/roslaunch$      sudo dpkg -l | grep qt4

 ii  libqglviewer-qt4-2                             2.3.4-2                                                an OpenGL 3D viewer library based on Qt - runtime library
 ii  libqglviewer-qt4-dev                           2.3.4-2                                                an OpenGL 3D viewer library based on Qt4 - development files
 ii  libqt4-core                                    4:4.7.0-0ubuntu4.3                                     transitional package for Qt 4 core non-GUI runtime libraries
 ii  libqt4-dbus                                    4:4.7.0-0ubuntu4.3                                     Qt 4 D-Bus module
 ii  libqt4-declarative                             4:4.7.0-0ubuntu4.3                                     Qt 4 Declarative module
 ii  libqt4-designer                                4:4.7.0-0ubuntu4.3                                     Qt 4 designer module
 ii  libqt4-dev                                     4:4.7.0-0ubuntu4.3                                     Qt 4 development files
 ii  libqt4-help                                    4:4.7.0-0ubuntu4.3                                     Qt 4 help module
 ii  libqt4-network                                 4:4.7.0-0ubuntu4.3                                     Qt 4 network module
 ii  libqt4-opengl                                  4:4.7.0-0ubuntu4.3                                     Qt 4 OpenGL module
 ii  libqt4-opengl-dev                              4:4.7.0-0ubuntu4.3                                     Qt 4 OpenGL library development files
 ii  libqt4-qt3support                              4:4.7.0-0ubuntu4.3                                     Qt 3 compatibility library for Qt 4
 ii  libqt4-script                                  4:4.7.0-0ubuntu4.3                                     Qt 4 script module
 ii  libqt4-scripttools                             4:4.7.0-0ubuntu4.3                                     Qt 4 script tools module
 ii  libqt4-sql                                     4:4.7.0-0ubuntu4.3                                     Qt 4 SQL module
 ii  libqt4-sql-mysql                               4:4.7.0-0ubuntu4.3                                     Qt 4 MySQL database driver
 ii  libqt4-sql-sqlite                              4:4.7.0-0ubuntu4.3                                     Qt 4 SQLite 3 database driver
 ii  libqt4-svg                                     4:4.7.0-0ubuntu4.3                                     Qt 4 SVG module
 ii  libqt4-test                                    4:4.7.0-0ubuntu4.3                                     Qt 4 test module
 ii  libqt4-xml                                     4:4.7.0-0ubuntu4.3                                     Qt 4 XML module
 ii  libqt4-xmlpatterns                             4:4.7.0-0ubuntu4.3                                     Qt 4 XML patterns module
 ii  libqwt5-qt4                                    5.2.0-1build1                                          Qt4 widgets library for technical applications (runtime)
 ii  libqwt5-qt4-dev                                5.2.0-1build1                                          Qt4 widgets library for technical applications (development)
 ii  python-qt4                                     4.7.4-0ubuntu1                                         Python bindings for Qt4
 ii  qt4-designer                                   4:4.7.0-0ubuntu4.3                                     graphical designer for Qt 4 applications
 ii  qt4-dev-tools                                  4:4.7.0-0ubuntu4.3                                     Qt 4 development tools
 ii  qt4-doc                                        4:4.7.0-0ubuntu4.3                                     Qt 4 API documentation
 ii  qt4-qmake                                           4:4.7.0-0ubuntu4.3                                Qt 4 qmake Makefile      generator tool

 sam@/opt/ros/diamondback/stacks/ros_comm/tools/roslaunch/src/roslaunch$

How to solve it? Thank you~


Original version of full output message:

 sam@/home/sam/code/ros/gazebo/debug$ export LANG=en_US

 sam@/home/sam/code/ros/gazebo/debug$ export           LC_MESSAGE=en_US.UTF8

 sam@/home/sam/code/ros/gazebo/debug$ sudo apt-get install      ros-diamondback-*
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 Note, selecting 'ros-diamondback-all' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-turtlebot' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-warehousewg' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-web-apps' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-brown-drivers' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-motion-planning-environment' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-robot-calibration' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-brown-perception' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-navigation-tutorials' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-joystick-drivers' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-ros' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-octomap-mapping' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-knowrob' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-perception-pcl' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-executive-smach' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-image-pipeline' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-kinect' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-sbpl-dynamic-env' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-diagnostics-monitors' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-bosch-skin' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-common-actions' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-sound-drivers' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-articulation' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-nxt-robots' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-visualization-common' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-physics-ode' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-arm-navigation' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-riq-hand' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-ethzasl-aseba' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-cart-pushing' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-velodyne' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-openni-kinect' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-arm-navigation-tests' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-art-vehicle' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-common' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-ccny-vision' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-motion-planning-visualization' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-geometry-tutorials' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-people' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-wifi-drivers' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-joystick-drivers-tutorials' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-turtlebot-apps' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-cob-common' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-vslam' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-arm-navigation' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-ias-common' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-navigation-apps' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-doors' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-geometry-experimental' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-rx' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-motion-planners' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-asctec-drivers' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-simulator-stage' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-linux-networking' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-camera-umd' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-calibration' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-image-common' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-client-rosjava-jni' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-visualization' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-cob-extern' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-web-interface' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-laser-drivers' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-orocos-toolchain-ros' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-driver-common' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-common-msgs' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-controllers' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-robot-model' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-plugs' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-motion-planning-common' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-p2os' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-simulator-gazebo' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-bosch-manipulation-utils' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-cram-pl' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-navigation' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-apps' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-robot' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-geometry' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-freiburg-tools' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-nxt-apps' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-power-drivers' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-slam-gmapping' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-gps-umd' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-turtlebot-viz' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-camera-drivers' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-client-rosjava' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-rosh-desktop-plugins' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-kinematics' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-simulator' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-roshpit' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-remote-lab' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-cockpit' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-kinematics' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-sql-database' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-camera-pose' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-nxt' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-sbpl-arm-planning' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-erratic-robot' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-object-manipulation' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-tabletop-object-perception' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-tabletop-manipulation-apps' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-bosch-drivers' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-scan-tools' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-image-transport-plugins' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-perception-pcl-addons' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-dynamixel-motor' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-slam-karto' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-cob-simulation' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-rosh-robot-plugins' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-executive-smach-visualization' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-ros-release' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-gui' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-exploration' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-multimaster-experimental' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-control' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-ros-tutorials' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-ethercat-drivers' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-ethzasl-message-transport' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-props-stack' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-pan-tilt' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-ros-realtime' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-mechanism' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-point-cloud-perception' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-wg-pr2-apps' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-graph-mapping' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-cob-driver' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-navigation-experimental' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-bosch-image-proc' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-wg-robots-gazebo' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-common' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-common-alpha' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-brown-remotelab' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-trajectory-filters' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-rosserial' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-topological-navigation' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-imu-drivers' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-ros-applications' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-geometry-visualization' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-exploration' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-common-tutorials' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-ros-comm' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-object-manipulation' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-graspit-simulator' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-roslisp-common' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-wg-common' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-roslisp-support' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-cob-apps' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-mav-tools' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-turtlebot-simulator' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-vision-opencv' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-visualization-tutorials' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-laser-pipeline' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-documentation' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-self-test' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-diagnostics' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-navigation' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-shadow-robot' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-care-o-bot' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-desktop' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-desktop-full' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-mobile' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-move-arm' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-nxtall' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-perception' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-applications' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-base' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-pr2-desktop' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-robot' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-ros-base' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-ros-full' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-simulators' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-turtlebot-desktop' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-turtlebot-robot' for regex      'ros-diamondback-*'
 Note, selecting 'ros-diamondback-utexas-art' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-viz' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-wg-pr2' for regex 'ros-diamondback-*'
 Note, selecting 'ros-diamondback-wg-pr2-desktop' for regex      'ros-diamondback-*'
 ros-diamondback-arm-navigation is already the newest version.
 ros-diamondback-art-vehicle is already the newest version.
 ros-diamondback-articulation is already the newest version.
 ros-diamondback-asctec-drivers is already the newest version.
 ros-diamondback-bosch-drivers is already the newest version.
 ros-diamondback-camera-drivers is already the newest version.
 ros-diamondback-camera-umd is already the newest version.
 ros-diamondback-care-o-bot is already the newest version.
 ros-diamondback-cart-pushing is already the newest version.
 ros-diamondback-ccny-vision is already the newest version.
 ros-diamondback-client-rosjava is already the newest version.
 ros-diamondback-cob-apps is already the newest version.
 ros-diamondback-cob-common is already the newest version.
 ros-diamondback-cob-driver is already the newest version.
 ros-diamondback-cob-extern is already the newest version.
 ros-diamondback-cob-simulation is already the newest version.
 ros-diamondback-common is already the newest version.
 ros-diamondback-common-msgs is already the newest version.
 ros-diamondback-common-tutorials is already the newest version.
 ros-diamondback-control is already the newest version.
 ros-diamondback-cram-pl is already the newest version.
 ros-diamondback-desktop is already the newest version.
 ros-diamondback-desktop-full is already the newest version.
 ros-diamondback-diagnostics is already the newest version.
 ros-diamondback-diagnostics-monitors is already the newest version.
 ros-diamondback-documentation is already the newest version.
 ros-diamondback-driver-common is already the newest version.
 ros-diamondback-erratic-robot is already the newest version.
 ros-diamondback-ethzasl-aseba is already the newest version.
 ros-diamondback-ethzasl-message-transport is already the newest version.
 ros-diamondback-executive-smach is already the newest version.
 ros-diamondback-executive-smach-visualization is already the newest version.
 ros-diamondback-exploration is already the newest version.
 ros-diamondback-freiburg-tools is already the newest version.
 ros-diamondback-geometry is already the newest version.
 ros-diamondback-geometry-experimental is already the newest version.
 ros-diamondback-geometry-tutorials is already the newest version.
 ros-diamondback-geometry-visualization is already the newest version.
 ros-diamondback-gps-umd is already the newest version.
 ros-diamondback-ias-common is already the newest version.
 ros-diamondback-image-common is already the newest version.
 ros-diamondback-image-pipeline is already the newest version.
 ros-diamondback-image-transport-plugins is already the newest version.
 ros-diamondback-imu-drivers is already the newest version.
 ros-diamondback-joystick-drivers is already the newest version.
 ros-diamondback-joystick-drivers-tutorials is already the newest version.
 ros-diamondback-kinect is already the newest version.
 ros-diamondback-kinematics is already the newest version.
 ros-diamondback-knowrob is already the newest version.
 ros-diamondback-laser-drivers is already the newest version.
 ros-diamondback-laser-pipeline is already the newest version.
 ros-diamondback-linux-networking is already the newest version.
 ros-diamondback-mav-tools is already the newest version.
 ros-diamondback-mobile is already the newest version.
 ros-diamondback-motion-planners is already the newest version.
 ros-diamondback-motion-planning-common is already the newest version.
 ros-diamondback-motion-planning-environment is already the newest version.
 ros-diamondback-motion-planning-visualization is already the newest version.
 ros-diamondback-move-arm is already the newest version.
 ros-diamondback-multimaster-experimental is already the newest version.
 ros-diamondback-navigation is already the newest version.
 ros-diamondback-navigation-experimental is already the newest version.
 ros-diamondback-navigation-tutorials is already the newest version.
 ros-diamondback-nxt is already the newest version.
 ros-diamondback-nxt-apps is already the newest version.
 ros-diamondback-nxt-robots is already the newest version.
 ros-diamondback-nxtall is already the newest version.
 ros-diamondback-object-manipulation is already the newest version.
 ros-diamondback-octomap-mapping is already the newest version.
 ros-diamondback-openni-kinect is already the newest version.
 ros-diamondback-orocos-toolchain-ros is already the newest version.
 ros-diamondback-people is already the newest version.
 ros-diamondback-perception is already the newest version.
 ros-diamondback-perception-pcl is already the newest version.
 ros-diamondback-perception-pcl-addons is already the newest version.
 ros-diamondback-physics-ode is already the newest version.
 ros-diamondback-point-cloud-perception is already the newest version.
 ros-diamondback-pr2 is already the newest version.
 ros-diamondback-pr2-applications is already the newest version.
 ros-diamondback-pr2-apps is already the newest version.
 ros-diamondback-pr2-arm-navigation is already the newest version.
 ros-diamondback-pr2-arm-navigation-tests is already the newest version.
 ros-diamondback-pr2-base is already the newest version.
 ros-diamondback-pr2-calibration is already the newest version.
 ros-diamondback-pr2-cockpit is already the newest version.
 ros-diamondback-pr2-common is already the newest version.
 ros-diamondback-pr2-common-actions is already the newest version.
 ros-diamondback-pr2-common-alpha is already the newest version.
 ros-diamondback-pr2-controllers is already the newest version.
 ros-diamondback-pr2-desktop is already the newest version.
 ros-diamondback-pr2-doors is already the newest version.
 ros-diamondback-pr2-ethercat-drivers is already the newest version.
 ros-diamondback-pr2-exploration is already the newest version.
 ros-diamondback-pr2-gui is already the newest version.
 ros-diamondback-pr2-kinematics is already the newest version.
 ros-diamondback-pr2-mechanism is already the newest version.
 ros-diamondback-pr2-navigation is already the newest version.
 ros-diamondback-pr2-navigation-apps is already the newest version.
 ros-diamondback-pr2-object-manipulation is already the newest version.
 ros-diamondback-pr2-plugs is already the newest version.
 ros-diamondback-pr2-power-drivers is already the newest version.
 ros-diamondback-pr2-robot is already the newest version.
 ros-diamondback-pr2-self-test is already the newest version.
 ros-diamondback-pr2-simulator is already the newest version.
 ros-diamondback-pr2-tabletop-manipulation-apps is already the newest      version.
 ros-diamondback-pr2-web-apps is already the newest version.
 ros-diamondback-riq-hand is already the newest version.
 ros-diamondback-robot is already the newest version.
 ros-diamondback-robot-calibration is already the newest version.
 ros-diamondback-robot-model is already the newest version.
 ros-diamondback-ros is already the newest version.
 ros-diamondback-ros-applications is already the newest version.
 ros-diamondback-ros-base is already the newest version.
 ros-diamondback-ros-comm is already the newest version.
 ros-diamondback-ros-full is already the newest version.
 ros-diamondback-ros-realtime is already the newest version.
 ros-diamondback-ros-release is already the newest version.
 ros-diamondback-ros-tutorials is already the newest version.
 ros-diamondback-rosh-desktop-plugins is already the newest version.
 ros-diamondback-rosh-robot-plugins is already the newest version.
 ros-diamondback-roshpit is already the newest version.
 ros-diamondback-roslisp-common is already the newest version.
 ros-diamondback-roslisp-support is already the newest version.
 ros-diamondback-rx is already the newest version.
 ros-diamondback-sbpl-arm-planning is already the newest version.
 ros-diamondback-simulator-gazebo is already the newest version.
 ros-diamondback-simulator-stage is already the newest version.
 ros-diamondback-simulators is already the newest version.
 ros-diamondback-slam-gmapping is already the newest version.
 ros-diamondback-sound-drivers is already the newest version.
 ros-diamondback-sql-database is already the newest version.
 ros-diamondback-tabletop-object-perception is already the newest version.
 ros-diamondback-trajectory-filters is already the newest version.
 ros-diamondback-turtlebot is already the newest version.
 ros-diamondback-turtlebot-apps is already the newest version.
 ros-diamondback-turtlebot-robot is already the newest version.
 ros-diamondback-turtlebot-viz is already the newest version.
 ros-diamondback-utexas-art is already the newest version.
 ros-diamondback-velodyne is already the newest version.
 ros-diamondback-vision-opencv is already the newest version.
 ros-diamondback-visualization is already the newest version.
 ros-diamondback-visualization-common is already the newest version.
 ros-diamondback-visualization-tutorials is already the newest version.
 ros-diamondback-viz is already the newest version.
 ros-diamondback-web-interface is already the newest version.
 ros-diamondback-wg-common is already the newest version.
 ros-diamondback-wg-pr2 is already the newest version.
 ros-diamondback-wg-pr2-apps is already the newest version.
 ros-diamondback-wg-pr2-desktop is already the newest version.
 ros-diamondback-wg-robots-gazebo is already the newest version.
 ros-diamondback-wifi-drivers is already the newest version.
 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-diamondback-graspit-simulator : Depends: libqt4-sql-psql but it is not      going to be installed
  ros-diamondback-warehousewg : Depends: xulrunner-dev but it is not going      to be installed
 E: Broken packages

 sam@/home/sam/code/ros/gazebo/debug$
edit retag flag offensive close delete

Comments

What OS are you running? can you post the full console output from your installation? tfoote ( 2011-08-11 23:47:49 -0500 )edit
I use ubuntu 10.10. I will revise it. Thank you~ sam ( 2011-08-13 05:20:27 -0500 )edit
possibly a different version of libqt4-sql-psql (and xulrunner-dev) already exist on your system. What does the output of "dpkg -s xulrunner-dev libqt4-sql-psql" say? hsu ( 2011-08-22 13:40:22 -0500 )edit
I have added the command result 'dpkg -s xulrunner-dev libqt4-sql-psql'. sam ( 2011-08-22 18:15:00 -0500 )edit
I have added the command result 'sudo apt-get install libqt4-sql-psql'. sam ( 2011-08-24 23:40:45 -0500 )edit
getting close, can you now post results of "sudo dpkg -l | grep qt4", thanks. hsu ( 2011-08-25 02:13:49 -0500 )edit
I have added the command result 'sudo dpkg -l | grep qt4'. sam ( 2011-08-25 07:11:41 -0500 )edit

5 Answers

Sort by ยป oldest newest most voted
3

answered 2011-08-10 05:12:22 -0500

Bram van de Klundert gravatar image Bram van de Klundert
241 1 7 10

he sam

when you run the command

sudo apt-get install ros-diamondback-*

you try to install every single package/stack available this way. this is way more than just normal diamondback. install instructions for diamondback can be found here: http://www.ros.org/wiki/ROS/Installation

about those dependencies, have you tried installing the dependencies with apt-get install, when i check it shows them as available (you might have to do an apt-get update)

edit flag offensive delete publish link more

Comments

I guess, the manual installation should lead to another error. When that happens, update the original post with those erros and the commands issued and always copy&paste the exact error messages instead of typing. dornhege ( 2011-08-10 07:22:03 -0500 )edit
I know typing is not the best way,but my output is chinese,I have tried to change it to english version,but not works. So I try to translate the original message to english version. I have successfully installed ROS by that command before,but now it would not work. I don't know why.Thank you~ sam ( 2011-08-12 09:39:36 -0500 )edit
In that case a translation is probably better ;) You can try export LANG=en_US and export LC_MESSAGES=en_US in the console you run the install from. In any way, can you give the information requested by tfoote and try the suggestion by Bram. dornhege ( 2011-08-12 10:13:38 -0500 )edit
I can run export LANG=en_US , but when I run export LC_MESSAGES=en_US, it shows that bash: warning: setlocale: LC_MESSAGES: cannot change locale (en_US): No such file or directory. What can I do next? Thank you~ sam ( 2011-08-13 05:19:11 -0500 )edit
For me LC_MESSAGE=en_US.UTF8 works. But this only gives english messages, which would be easier than translating. To solve the actual problem try the suggestion by Bram an post errors from that in english. dornhege ( 2011-08-13 06:47:48 -0500 )edit
Thank you~The message is changed to english version successfully. I have updated the original post to english version of output messages. sam ( 2011-08-22 02:38:14 -0500 )edit
0

answered 2011-08-13 12:15:19 -0500

tfoote gravatar image tfoote flag of United States
17329 47 150 243
http://www.ros.org/

Two suggestions. It appears that xulrunner-dev is in the security repository. Can you check that you have the security repo in your sources. http://packages.ubuntu.com/maverick/xulrunner-dev

Also, could you try installing ros-diamondback-pr2-desktop alone. It's possible that you have a stale package in your repo which has been removed in your local cache which is not version compatible.

Also most of those messages translate by google to say that they're already at the newest version. I suspect that most of what you want is already there.

Lastly make sure to apt-get update before trying to install or upgrade.

edit flag offensive delete publish link more

Comments

I updated the original post with ros-diamondback-pr2-desktop. And I have tried apt-get update but still the same condition. How to check I have the security repo in your sources or not? Thank you~ sam ( 2011-08-22 02:55:13 -0500 )edit
Post the contents of /etc/apt/sources.list dornhege ( 2011-08-22 03:09:07 -0500 )edit
I have posted the content of /etc/apt/sources.list. sam ( 2011-08-24 23:41:23 -0500 )edit
0

answered 2011-08-25 04:11:23 -0500

dornhege gravatar image dornhege flag of Germany
15790 44 149 308

updated 2011-08-25 12:34:26 -0500

Based on this output I suspect that something got mixed up with your packages.

The following packages have unmet dependencies:
libqt4-sql-psql : Depends: libqt4-sql (= 4:4.7.0-0ubuntu4) but      4:4.7.0-0ubuntu4.3 is to be installed
Depends: libqtcore4 (= 4:4.7.0-0ubuntu4) but      4:4.7.0-0ubuntu4.3 is to be installed
E: Broken packages

I would suggest to just remove the packages in question (probably all qt4 packages is best), run apt-get update and then reinstall the packages. This should get you synched back with your ubuntu repositories. That also goes for the xulrunner* packages and possibly more dependencies from that.

Did you enable updates and security repositories as tfoote suggested? For me that makes the version difference from ...0ubuntu4 to ...0ubuntu4.3

Got my hands on a maverick system:

apt-cache policy libqt4-sql-psql 
libqt4-sql-psql:
Installed: 4:4.7.0-0ubuntu4.3
Candidate: 4:4.7.0-0ubuntu4.3
Version table:
*** 4:4.7.0-0ubuntu4.3 0
    500 http://de.archive.ubuntu.com/ubuntu/ maverick-updates/main i386 Packages
    500 http://security.ubuntu.com/ubuntu/ maverick-security/main i386 Packages
    100 /var/lib/dpkg/status
 4:4.7.0-0ubuntu4 0
    500 http://de.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages

According to you output of dpkg -l which shows the ubuntu4.3 versions to be installed I think when you installed the other qt4 packages you had security enabled and now you disabled it leaving incompatible packages.

edit flag offensive delete publish link more

Comments

What package I should remove? Is that package will related with programs which I'm using now? sam ( 2011-08-25 07:13:42 -0500 )edit
All that seem to make a problem and their dependencies. Other things might not work, so the idea is to immediately reinstall those packages from your current apt-sources (using to matching versions). As qt4 seems to be involved I would remove/reinstall all qt4 packages (dpkg -l |grep qt4 for a list) dornhege ( 2011-08-25 08:37:50 -0500 )edit
What's difference between 'do nothing' and 'remove and reinstall qt4 packages',if I don't install any new packages? Or what should I remove and what new package should I install? sam ( 2011-08-25 09:30:42 -0500 )edit
It will remove the package with name X that you have installed and reinstall package X from the ubuntu sources. Usually nothing should change, but I suspect that some packages that you have installed are different than they should be, reinstalling should fix that. dornhege ( 2011-08-25 10:41:41 -0500 )edit
Is there any way not to remove the basic libs and reinstall? Because of dependencies,it will let me reinstall too many program I already in used. sam ( 2011-08-25 19:11:30 -0500 )edit
Your dpkg -l shows that many packages are actually ahead in version. So enableing security + apt-get update might already work without the need to reinstall. You can als try apt-get --reinstall install <package> directly. dornhege ( 2011-08-26 00:52:59 -0500 )edit
I am confused how to enable security and '--reinstall install' means 'sudo apt-get --reinstall install qt4-*' ? sam ( 2011-08-26 01:29:03 -0500 )edit
0

answered 2011-09-20 07:45:34 -0500

sam gravatar image sam
1455 163 194 216

I trace the problems found that I can't install libnss3-dev

 sam@/home/sam/code/ros/ai/cram/roslisp_repl$ sudo apt-get update
 Get:1 http://packages.ros.org maverick Release.gpg [198B]
 Ign http://packages.ros.org/ros/ubuntu/ maverick/main Translation-en                                   
 Hit http://ppa.launchpad.net maverick Release.gpg                                          
 Ign http://ppa.launchpad.net/abogani/ppa/ubuntu/ maverick/main      Translation-en
 Hit http://ppa.launchpad.net maverick Release.gpg                    
 Hit http://archive.ubuntu.com maverick Release.gpg                   
 Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en   
 Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
 Get:2 http://packages.ros.org maverick Release [3032B]               
 Ign http://ppa.launchpad.net/cnav/ppa/ubuntu/ maverick/main Translation-en                       
 Hit http://ppa.launchpad.net maverick Release.gpg                                          
 Ign http://ppa.launchpad.net/gummi/gummi/ubuntu/ maverick/main      Translation-en              
 Hit http://ppa.launchpad.net maverick Release                                              
 Ign http://packages.ros.org maverick/main amd64 Packages                                               
 Ign http://packages.ros.org maverick/main amd64 Packages                                   
 Hit http://ppa.launchpad.net maverick Release                        
 Hit http://ppa.launchpad.net maverick Release                                                          
 Get:3 http://extras.ubuntu.com maverick Release.gpg [72B]                                              
 Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en                                 
 Get:4 http://packages.ros.org maverick/main amd64 Packages [121kB]                         
 Hit http://ppa.launchpad.net maverick/main Sources                                              
 Hit http://extras.ubuntu.com maverick Release                                                   
 Hit http://extras.ubuntu.com maverick/main Sources                                               
 Ign http://archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en     
 Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en                             
 Hit http://extras.ubuntu.com maverick/main amd64 Packages                                          
 Hit http://archive.ubuntu.com maverick Release                                                     
 Hit http://ppa.launchpad.net maverick/main amd64 Packages                    
 Hit http://archive.ubuntu.com maverick/main Sources                          
 Hit http://ppa.launchpad.net maverick/main Sources                           
 Hit http://ppa.launchpad.net maverick/main amd64 Packages                    
 Hit http://archive.ubuntu.com maverick/restricted Sources                    
 Hit http://archive.ubuntu.com maverick/universe Sources                      
 Hit http://archive.ubuntu.com maverick/multiverse Sources                    
 Hit http://ppa.launchpad.net maverick/main Sources     
 Hit http://ppa.launchpad.net maverick/main amd64 Packages                    
 Hit http://archive.ubuntu.com maverick/main amd64 Packages                   
 Hit http://archive.ubuntu.com maverick/restricted amd64 Packages
 Hit http://archive.ubuntu.com maverick/universe amd64 Packages
 Hit http://archive.ubuntu.com maverick/multiverse amd64 Packages
 Fetched 125kB in 7s (15.7kB/s)                                                                         
 Reading package lists... Done

 sam@/home/sam/code/ros/ai/cram/roslisp_repl$ sudo apt-get install      libnss3-dev
 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 to resolve the situation:

 The following packages have unmet dependencies:
  libnss3-dev : Depends: libnss3-1d (< 3.12.7-0ubuntu1.1~) but      3.12.9+ckbi-1.82-0ubuntu0.10.10.1 is to be installed
 E: Broken packages

 sam@/home/sam/code/ros/ai/cram/roslisp_repl$

I found that when I add some sources on /etc/apt/sources.list can fix this problem.

 deb http://archive.ubuntu.com/ubuntu/ maverick-updates main universe      restricted
 deb-src http://archive.ubuntu.com/ubuntu/ maverick-updates main universe      restricted

 deb http://security.ubuntu.com/ubuntu maverick-security main restricted
 deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
 deb http://security.ubuntu.com/ubuntu maverick-security universe
 deb-src http://security.ubuntu.com/ubuntu maverick-security universe
 deb http://security.ubuntu.com/ubuntu maverick-security multiverse
 deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse

After revised, it works!

Thank you~

edit flag offensive delete publish link more
0

answered 2011-09-27 12:32:20 -0500

akargol gravatar image akargol
126 2 4 10

I had a similar problem on a system where I had fiddled with the list of available repositories. The problem was that apt-get knew that packages were available (libqt4-dev was one of them), but couldn't actually connect to the proper location to download them. The error messages you're getting look pretty similar to what I had. If I remember correctly, resetting /etc/apt/sources.list to a default solved most of my problems, so it may be worth a shot.

edit flag offensive delete publish link more

Comments

What you mean 'default'? When I first encounter this problem,sources.list is also an default configuration. sam ( 2011-09-27 23:30:24 -0500 )edit
By 'default' I mean the settings for a clean ubuntu install. At some point I had changed which lines in sources.list were commented and which weren't, and I also changed some of the update manager settings. Resetting both to factory settings (essentially), solved my problem. akargol ( 2011-09-29 20:47:12 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2011-08-10 01:41:45 -0500

Seen: 917 times

Last updated: Sep 27 '11