Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

broken dependencies in fuerte on Ubuntu 12.04

Hi,

I'm trying to install ros-fuerte-arm-navigation in 12.04 but get broken dependencies in image-common, navigation, robot-model, and visualization. The problem seems to be a conflict with oneiric versions of libassimp-dev and yaml.cpp. Here are the messages I get when I run apt-get -f install (to try to fix the broken dependencies):

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libassimp-dev yaml-cpp
The following NEW packages will be installed:
  libassimp-dev yaml-cpp
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
76 not fully installed or removed.
Need to get 0 B/299 kB of archives.
After this operation, 1,052 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 381683 files and directories currently installed.)
Unpacking yaml-cpp (from .../yaml-cpp_0.2.7-5precise-20120502-0513-+0000_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/yaml-cpp_0.2.7-5precise-20120502-0513-+0000_amd64.deb (--unpack):
 trying to overwrite '/usr/include/yaml-cpp/emitter.h', which is also in package yaml-cpp0.2.6-dev 0.2.6-4~oneiric
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Unpacking libassimp-dev (from .../libassimp-dev_2.0.863+dfsg-2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libassimp-dev_2.0.863+dfsg-2_amd64.deb (--unpack):
 trying to overwrite '/usr/include/assimp/aiQuaternion.h', which is also in package assimp-dev 2.0.0.7-ubuntu1~oneiric1
Errors were encountered while processing:
 /var/cache/apt/archives/yaml-cpp_0.2.7-5precise-20120502-0513-+0000_amd64.deb
 /var/cache/apt/archives/libassimp-dev_2.0.863+dfsg-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

If I try to remove the oneiric versions of assimp-dev or yaml-cpp in Synaptic, then a bunch of other packages in both electric and fuerte get marked for removal. Any idea how to fix this?

Thanks!