libyaml-cpp-dev cannot be installed (dependencies) [closed]
Hi. I'm new to both, Linux and Ubuntu and am trying to install ROS-indigo following these two tutorials http://wiki.ros.org/indigo/Installati... and http://wiki.ros.org/turtlebot/Tutoria...
I keep on having and issue with the libyaml-cpp-dev package.
~$ sudo apt-get install ros-indigo-ros
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
ros-indigo-camera-calibration-parsers : Depends: libyaml-cpp-dev but it is not going to be installed
ros-indigo-ros : Depends: ros-indigo-mk but it is not going to be installed
Depends: ros-indigo-rosbash but it is not going to be installed
Depends: ros-indigo-rosboost-cfg but it is not going to be installed
Depends: ros-indigo-roscreate but it is not going to be installed
Depends: ros-indigo-roslang but it is not going to be installed
Depends: ros-indigo-rosmake but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
whenever i try to fix it with sudo apt-get -f insall or try to install the libyaml-cpp-dev manualy, the following happenes
(Reading database ... 370013 files and directories currently installed.)
Preparing to unpack .../libyaml-cpp-dev_0.5.1-1_amd64.deb ...
Unpacking libyaml-cpp-dev (0.5.1-1) ...
dpkg: error processing archive /var/cache/apt/archives/libyaml-cpp-dev_0.5.1-1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/pkgconfig/yaml-cpp.pc', which is also in package yaml-cpp 0.2.7-5precise-20120502-0513-+0000
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libyaml-cpp-dev_0.5.1-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tiried removing ros and the yaml-cpp from the system, like some forum entries suggested, but nothing seems to help. I had fuerte installed before on Linux 12. recently i removed fuerte, upgraded the Linux to 14.04 and since then I'm trying to install indigo.
any ideas? :/