ROS安装时packages have unmet dependencies问题

原创 2015年07月10日 15:18:41

在ROS安装的过程中,当运行sudo apt-get install ros-***后,我们常常会遇到类似下面的错误:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
 ros-***-desktop-full : Depends: ros-***-mobile but it is not going to be installed
                          Depends: ros-***-perception but it is not going to be installed
                          Depends: ros-***-simulators but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


解决方法主要有以下两种:

1. 每次安装第一个缺失的依赖包

    如: sudo apt-get install ros-***-mobile ,运行该命令后可能会出现新的依赖包缺失问题,再次安装新的第一个缺失的依赖包。

    如此这般,直到安装好所有的依赖包,再次执行命令

    sudo apt-get install ros-***;

2. 在第一种方法解决不了的情况下使用:

    sudo aptitude install ros-*** 代替  sudo apt-get install ros-***;

    对于前面的提示Accept this solution? [Y/n/q/?],选择n

    直到出现类似这样的提示时,选择Y:

    The following actions will resolve these dependencies:
     Install the following packages:           
     1)     ps-engine [5.0.3.3-3+precise1 (precise)]
     Accept this solution? [Y/n/q/?]

   

经过以上操作,问题基本可以解决。如果还是无法安装ROS,则需要具体问题具体分析。

Ubuntu 安装源配置:Unable to locate package & unmet dependencies

1.无法找到软件包 apt-get install : E: Unable to locate package xxx 软件中心安装时显示:There isn't a software package...

ubuntu14.04+caffe+cuda7.5 出现unmet dependencies错误

官网上下载deb(local)安装包,并且完全按照官方文档安装,然后出现如下错误: The following packages have unmet dependencies: cuda...

Ubuntu小技巧12——mplayer/mplayer2 libvdpau1 unmet dependencies

Ubuntu小技巧12——mplayer/mplayer2 libvdpau1 unmet dependencies     最近使用Ubuntu Software Center安装了一个SMplay...

Ubuntu下面包依赖损坏的解决unmet dependencies

出现dependencies的原因 在新版的Ubuntu下,例如Ubuntu 14.04或者16.04一般是不会出现broken dependencies,或者出现unmet dependencies...

Let's install turtlesim packages(Ros 仿真包安装)

1、In this learning session we will use turtlesim to simulate an actual robot. It will teach us neces...

sublime text安装插件时提示There are no packages available for installation问题解决

在某些电脑上用sublime安装插件时,会连接很久然后弹框说There are no packages available for installation,在网上找了很久,最后都发现不行。先把网上的...
  • sysuzjz
  • sysuzjz
  • 2015年11月28日 00:28
  • 5409

fedora17安装IEs4Linux时Your wine does not have wineprefixcreate installed问题的解决方法

寒假之前就开始作自己的个人主页,在sina上申请了个用户号,赠送了一个二级域名,就作为自己个人主页的网址了,写了一点html网页。放假回来后继续完善个人主页,经过两天的努力,总算弄的差不多了,在fir...

E: Unable to correct problems, you have held broken packages.

gec@ubuntu:~/mt7601u$ sudo apt-get install linux-headers-generic build-essential gcc dkms wireless-t...

ubuntu: Unable to correct problems, you have held broken packages 解决方案

本人ubuntu16.04, 在配置caffe的时候使用apt-get命令后提示 Unable to correct problems, you have held broken packa...

This is caused by library dependencies that have been compiled using Java 8 or above.

1.错误现象         在用android studio编译项目的时候提示错误:Error:Error converting bytecode to dex: Cause: Dex cannot...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:ROS安装时packages have unmet dependencies问题
举报原因:
原因补充:

(最多只允许输入30个字)