我尝试使用本指南。
执行此操作时,sudo apt-get install ros-indigo-desktop-full
我收到以下依赖性错误,当我尝试解决它们时,会导致依赖性的噩梦:
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.`
我在这里做错了什么?
答案1
我也遇到过这个问题,因为我安装了一些 gazebo4 和 gazebo5 包。不幸的是,Indigo 只附带 gazebo2,如果已经存在其他 gazebo 包,则无法安装。
另外,来自这个答案,我必须先安装这个包:
sudo apt-get install libsdformat1
此后,ros-indigo-desktop-full
我在 14.04 上安装顺利。
答案2
我尝试使用“aptitude”来解决依赖性问题。似乎有些库需要降级。