apt-get install ros-kinect-desktop-full 时需要 umet 依赖

apt-get install ros-kinect-desktop-full 时需要 umet 依赖

我按照 ROS Kinetic Install教程在我的ubuntu16.04上,但是我遇到了问题

elon@elonWorkStation:~/Script$ sudo apt-get install ros-kinetic-desktop-full
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-kinetic-desktop-full : Depends: ros-kinetic-desktop but it is not going to be installed
                            Depends: ros-kinetic-perception but it is not going to be installed
                            Depends: ros-kinetic-simulators but it is not going to be installed
                            Depends: ros-kinetic-urdf-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我尝试了所有能找到的方法,但都没有成功。这是我的 /etc/apt/sources.list

deb http://mirrors.aliyun.com/ubuntu/ xenial universe restricted multiverse

我已经花了大约一天时间解决这个问题。我可以修复它。

答案1

信息:我最近更新到了 Ubuntu 18.01 bionic,我也正在尝试安装 ros melodic。

简短回答:

对我来说,安装 libcurl4、libcurl4-openssl-dev 是有效的

长答案:

你好,

我遇到了和你一样的问题,这让我感觉好多了,因为我并不孤单。唯一的解决方法是使用源代码安装http://wiki.ros.org/melodic/Installation/Source然后,他们提供了一个名为 rosdep 的工具,可用于解决依赖关系:

rosdep 安装--from-paths src--ignore-src--rosdistro melodic-y

编辑:如果尝试安装 kinetic 必须是:kinetic

然后错误包含更多信息,例如缺少 libcurl4 和 libcurl4-openssl-dev。我安装了。sudo apt-get install libcurl4 sudo apt-get install libcurl4-openssl-dev

然后更改为再次安装推荐的版本: http://wiki.ros.org/melodic/Installation/Ubuntu

我一直在互联网上搜索,但无法找到任何适合我的其他修复方法。

问候,

相关内容