[ros-users] Dependency conflict in ROS Indigo on Ubuntu 14.04 due to libsdformat

Dirk Thomas dthomas at osrfoundation.org
Sun Jul 27 17:55:01 UTC 2014


Hi Egbert,

there is no ROS packaged sdformat in Indigo anymore.
This has been resolved weeks ago (https://github.com/ros/rosdistro/issues/4633).

You might still have the package "ros-indigo-sdformat" installed which
does not exist in the repos anymore.
You want want to try removing that from your system - then the
sdformat packages from the Ubuntu repo should install fine.

Cheers,
- Dirk

On Sun, Jul 27, 2014 at 2:54 AM, Egbert van der Wal <ros at pointpro.nl> wrote:
> Hi,
>
>
>
> I've attempted to upgrade from ROS Hydro to ROS Indigo after upgrading my
> Ubuntu Precise to Ubuntu Trusty. However, I'm getting conflicts after
>
> installing ros-indigo-desktop-full.
>
>
>
> Quick summary:
>
>
>
> $ apt-get -f install
>
> The following NEW packages will be installed:
>
> libsdformat-dev{a} libsdformat1{a}
>
> The following partially installed packages will be configured:
>
> gazebo2 ros-indigo-desktop-full ros-indigo-gazebo-plugins
> ros-indigo-gazebo-ros ros-indigo-gazebo-ros-pkgs ros-indigo-simulators
>
>
>
>
>
> eggie at Idefix:~$ sudo apt-get -f install
>
>
>
> Preparing to unpack .../libsdformat1_1.4.11-1ubuntu0.1_amd64.deb ...
>
> Unpacking libsdformat1:amd64 (1.4.11-1ubuntu0.1) ...
>
> dpkg: error processing archive
> /var/cache/apt/archives/libsdformat1_1.4.11-1ubuntu0.1_amd64.deb (--unpack):
>
> trying to overwrite '/usr/share/sdformat/1.4/projector.sdf', which is also
> in package sdformat 1.4.11-1~precise
>
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
>
> Preparing to unpack .../libsdformat-dev_1.4.11-1ubuntu0.1_amd64.deb ...
>
> Unpacking libsdformat-dev:amd64 (1.4.11-1ubuntu0.1) ...
>
> dpkg: error processing archive
> /var/cache/apt/archives/libsdformat-dev_1.4.11-1ubuntu0.1_amd64.deb
> (--unpack):
>
> trying to overwrite '/usr/include/sdformat-1.4/sdf/SDFImpl.hh', which is
> also in package sdformat 1.4.11-1~precise
>
> Errors were encountered while processing:
>
> /var/cache/apt/archives/libsdformat1_1.4.11-1ubuntu0.1_amd64.deb
>
> /var/cache/apt/archives/libsdformat-dev_1.4.11-1ubuntu0.1_amd64.deb
>
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
>
>
>
>
> libsdformat-dev and libsdformat1 seem to conflict:
>
>
>
>
>
> The relevant versions:
>
>
>
> $ apt-cache policy libsdformat-dev
>
> libsdformat-dev:
>
> Installed: (none)
>
> Candidate: 1.4.11-1ubuntu0.1
>
> Version table:
>
> 1.4.11-1ubuntu0.1 0
>
> 500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64
> Packages
>
> 1.4.11-1osrf1 0
>
> 500 http://packages.ros.org/ros/ubuntu/ trusty/main amd64 Packages
>
> 1.4.11-1 0
>
> 500 http://nl.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
>
>
>
>
>
> $ apt-cache policy libsdformat1
>
> libsdformat1:
>
> Installed: (none)
>
> Candidate: 1.4.11-1ubuntu0.1
>
> Version table:
>
> 1.4.11-1ubuntu0.1 0
>
> 500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64
> Packages
>
> 1.4.11-1osrf1 0
>
> 500 http://packages.ros.org/ros/ubuntu/ trusty/main amd64 Packages
>
> 1.4.11-1 0
>
> 500 http://nl.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
>
>
>
>
>
> As far as I can tell, it seems to prefer the Ubuntu packaged libsdformat
> over the ROS packaged sdfformat, I suppose this may be the source of the
> problem?
>
>
>
> However, running:
>
>
>
> apt-get install libsdformat1=1.4.11-1osrf1 libsdformat-dev=1.4.11-1osrf1
>
>
>
> does not solve the problem and results in the same conflict.
>
>
>
> Any suggestions?
>
>
>
> Thanks,
>
>
>
> Egbert
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at lists.ros.org
> http://lists.ros.org/mailman/listinfo/ros-users
>


More information about the ros-users mailing list