[ros-users] Dependency conflict in ROS Indigo on Ubuntu 14.0…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Egbert van der Wal
Dato:  
Til: ros-users
Emne: [ros-users] Dependency conflict in ROS Indigo on Ubuntu 14.04 due to libsdformat
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@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

http://lists.ros.org/mailman/listinfo/ros-users