0
我是新來的ROS和Linux,我試圖安裝在Ubuntu羅斯靛藍14.04可信賴以下教程: http://wiki.ros.org/indigo/Installation/Ubuntu http://wiki.ros.org/turtlebot/Tutorials/indigo/InstallationROS-靛藍安裝libyaml-CPP-dev的錯誤
我一直在具有以下問題:
~$ 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).
每當我試圖與建議須藤解決這個apt-get的安裝-f,會發生以下情況:
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libyaml-cpp-dev
The following NEW packages will be installed:
libyaml-cpp-dev
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
2 not fully installed or removed.
Need to get 0 B/339 kB of archives.
After this operation, 1,460 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(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)
我嘗試刪除ros和yaml-cpp並重新安裝它們,因爲一些論壇帖子建議,但它似乎沒有工作。我也嘗試安裝libyaml-cpp-dev manualy,但是這似乎也不起作用。我跑出來的想法:/
問候, 玫瑰