首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >ros-indigo安装libyaml-cpp-dev错误

ros-indigo安装libyaml-cpp-dev错误
EN

Stack Overflow用户
提问于 2014-10-29 20:13:51
回答 1查看 581关注 0票数 0

我是ROS和Linux的新手,正在尝试按照以下教程在Ubuntu14.04 trusty上安装Ros indigo:http://wiki.ros.org/indigo/Installation/Ubuntu http://wiki.ros.org/turtlebot/Tutorials/indigo/Installation

我一直有以下问题:

代码语言:javascript
复制
~$ 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).

每当我尝试使用建议的sudo apt-get -f install修复此问题时,都会发生以下情况:

代码语言:javascript
复制
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,但似乎也不起作用。我的想法快用完了:/

你好啊,罗斯

EN

回答 1

Stack Overflow用户

发布于 2014-10-30 04:50:59

您似乎试图在不受支持的平台REP 3的Precise上安装ROS Indigo

请注意,搜索ROS问题的最佳位置是http://answers.ros.org,如大纲所示:http://wiki.ros.org/Support

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26630064

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档