ROS安装E:无法纠正问题,您的包裹损坏了



我正在尝试安装ros indigo。我做了以下步骤:

$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu xenial main" > /etc/apt/sources.list.d/ros-latest.list'
$ sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
$ sudo apt-get update
$ sudo apt-get install ros-indigo-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-indigo-desktop-full : Depends: ros-indigo-desktop but it is not going to be installed
                           Depends: ros-indigo-perception but it is not going to be installed
                           Depends: ros-indigo-simulators but it is not going to be installed
                           Depends: ros-indigo-urdf-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我尝试了此建议的解决方案,但是它不起作用。

您不能在Ubuntu上安装ROS Indigo 16.04正式使用APT-GET,因为它与Ubuntu 14.04兼容(我认为Ubuntu 14.10(

但是,安装有解决方法,但不建议

ubuntu 16.04的官方版本是动力学,这是最新的LTS版本

尝试处理错误:

sudo get upgrade

最新更新