无法安装 ROS indigo E:无法纠正问题,您持有损坏的软件包

无法安装 ROS indigo E:无法纠正问题,您持有损坏的软件包

我会尽量具体(我对 Ubuntu 了解不多)我使用的是 Ubuntu 16.04 64 位

我确实需要安装 ROS indigo,并且我确实严格按照如下所示的说明进行操作:http://wiki.ros.org/indigo/Installation/Ubuntu

例如:

sudo apt-get install ros-indigo-desktop-full

the following error happens: 
E: unable to locate package ros-indigo-desktop-full

But I think I solved with this solution:
http://answers.ros.org/question/188732/e-unable-to-locate-package-ros-indigo-desktop-full/

But then I get the following error (with command):

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
E: Unable to correct problems, you have held broken packages.
genoma@genoma-RC530-RC730:~$ 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
E: Unable to correct problems, you have held broken packages.

It might not be an error, but anyway, it doesn't let me install the packages, and a similar error occurs when i try to install:
sudo apt-get install ros-indigo-desktop

依赖性呈指数级增长!

我已经尝试了在互联网上看到的所有类似方法,现在我寻求帮助。

(我也尝试过: sudo aptitude install ros-indigo-desktop-full ,但没有成功)

答案1

因为我确实需要兼容性和可信赖性,所以我回到了 Ubuntu 14.04,但是直到我使用这个命令它仍然出现错误,我真的希望这对任何人都有帮助,它为我解决了所有问题。

$ sudo apt-get install --install-recommends linux-generic-lts-wily

相关内容