gazebo5 installation from debs is broken

Create issue
Issue #1531 closed
Jose Luis Rivero created an issue
jrivero@nium ~ $ sudo apt-get install -o Debug::pkgProblemResolver=yes gazebo5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) gazebo5 [ amd64 ] < none -> 5.0.1-1~trusty > ( science )
Broken gazebo5:amd64 Depends on libgazebo5 [ amd64 ] < none -> 5.0.1-1~trusty > ( libs ) (= 5.0.1-1~trusty)
  Considering libgazebo5:amd64 0 as a solution to gazebo5:amd64 9998
  Re-Instated libgazebo5:amd64
Broken gazebo5:amd64 Depends on gazebo5-common [ amd64 ] < none -> 5.0.1-2~trusty > ( science ) (= 5.0.1-1~trusty)
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:
 gazebo5 : Depends: gazebo5-common (= 5.0.1-1~trusty) but it is not going to be installed
           Recommends: gazebo5-plugin-base
E: Unable to correct problems, you have held broken packages.

This was caused by the ARM release, which has a different release number (5.0.1-2). All Trusty packages (across different architectures) share the gazebo-common package. and the latest release of ARM changed the gazebo-common from 5.0.1-1 to 5.0.1-2.

Comments (4)

  1. Carlos J. Rosales Gallegos

    Jose, I'm on 14.04/Indigo/amd64, I see latest-version: 5.1.0-1~trusty in all gazebo5 packages. For instance, I can install gazebo5-plugin-base and all ros-indigo-gazebo5-* packages, but gazebo5-common 5.1.0-1 is not found, hence gazebo5 appears broken.

    I see here that gazebo5-common deb should be at Filename: pool/main/g/gazebo5/gazebo5-common_5.1.0-2~trusty_all.deb, that is the "-2~trusty" version, so I went there and in fact the "-1~trsuty" is not there either.

    I downloaded and installed the "-2~trusty" deb, and things seem to work, but don't think that's ok, right?

    This is what I get by running the command above:

    $ sudo apt-get install -o Debug::pkgProblemResolver=yes gazebo5
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Starting pkgProblemResolver with broken count: 0
    Starting 2 pkgProblemResolver with broken count: 0
    Done
    The following extra packages will be installed:
      gazebo5-common gazebo5-plugin-base libarmadillo4 libarpack2 libbullet2.82
      libepsilon1 libfreexl1 libgazebo5 libgdal1h libgeos-3.4.2 libgeos-c1
      libhdf4-0-alt libkml0 libogdi3.2 libplayercommon3.0 libplayercore3.0
      libplayerinterface3.0 libproj0 libsdformat2 libspatialite5 liburiparser1
      libxerces-c3.1 proj-bin proj-data sdformat-sdf
    Suggested packages:
      gazebo5-doc libhdf4-doc libhdf4-alt-dev hdf4-tools libnetcdf4 ogdi-bin
    The following NEW packages will be installed:
      gazebo5 gazebo5-common gazebo5-plugin-base libarmadillo4 libarpack2
      libbullet2.82 libepsilon1 libfreexl1 libgazebo5 libgdal1h libgeos-3.4.2
      libgeos-c1 libhdf4-0-alt libkml0 libogdi3.2 libplayercommon3.0
      libplayercore3.0 libplayerinterface3.0 libproj0 libsdformat2 libspatialite5
      liburiparser1 libxerces-c3.1 proj-bin proj-data sdformat-sdf
    0 upgraded, 26 newly installed, 0 to remove and 218 not upgraded.
    Need to get 43.3 MB/61.1 MB of archives.
    After this operation, 147 MB of additional disk space will be used.
    Do you want to continue? [Y/n] 
    Get:1 http://it.archive.ubuntu.com/ubuntu/ trusty/universe libgeos-3.4.2 amd64 3.4.2-4ubuntu1 [411 kB]
    Get:2 http://it.archive.ubuntu.com/ubuntu/ trusty/universe libgeos-c1 amd64 3.4.2-4ubuntu1 [42.6 kB]
    Get:3 http://it.archive.ubuntu.com/ubuntu/ trusty-updates/universe libxerces-c3.1 amd64 3.1.1-5.1~build0.14.04.1 [813 kB]
    Get:4 http://it.archive.ubuntu.com/ubuntu/ trusty/universe libplayercommon3.0 amd64 3.0.2+dfsg-4.1ubuntu3 [5462 B]
    Get:5 http://it.archive.ubuntu.com/ubuntu/ trusty/universe libplayerinterface3.0 amd64 3.0.2+dfsg-4.1ubuntu3 [56.1 kB]
    Get:6 http://it.archive.ubuntu.com/ubuntu/ trusty/universe libplayercore3.0 amd64 3.0.2+dfsg-4.1ubuntu3 [51.4 kB]
    Err http://packages.osrfoundation.org/gazebo/ubuntu/ trusty/main sdformat-sdf all 2.3.2-1~trusty
      404  Not Found
    Get:7 http://packages.osrfoundation.org/gazebo/ubuntu/ trusty/main libsdformat2 amd64 2.3.2-1~trusty [242 kB]
    Get:8 http://packages.ros.org/ros/ubuntu/ trusty/main sdformat-sdf all 2.3.2-1~trusty [28.4 kB]
    Get:9 http://packages.osrfoundation.org/gazebo/ubuntu/ trusty/main libbullet2.82 amd64 2.82-0osrf1~trusty1 [787 kB]
    Err http://packages.osrfoundation.org/gazebo/ubuntu/ trusty/main gazebo5-common all 5.1.0-1~trusty
      404  Not Found
    Fetched 2437 kB in 3s (686 kB/s)
    E: Failed to fetch http://packages.osrfoundation.org/gazebo/ubuntu/pool/main/g/gazebo5/gazebo5-common_5.1.0-1~trusty_all.deb  404  Not Found
    
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    
  2. Log in to comment