在ubuntu14.04.3上安装ROS,取决于错误

时间:2016-05-28 01:55:14

标签: ubuntu-14.04 ros

当我尝试在此document之后在64位Ubuntu14.04.3中安装ROS时,出现了一些问题。

在我配置我的Ubuntu存储库以允许"限制后," "宇宙,"和"多元宇宙,我这样做了:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116
然后我进入了:

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

我收到了错误: 以下包具有未满足的依赖项:

ros-indigo-desktop-full:i386 : Depends: ros-indigo-desktop:i386 but it is not going to be installed
                            Depends: ros-indigo-perception:i386 but it is not going to be installed
                            Depends: ros-indigo-simulators:i386 but it is not going to be installed
unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed    
          Depends: libcheese7 (>= 3.0.1) but it is not going to be installed

然后我尝试了这个来修复依赖:

sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get upgrade

它不起作用。

然后我尝试了这个:

sudo apt-get install libsdformat1

仍有错误, 我试过这个:

sudo apt-get install libgl1-mesa-dev-lts-utopic

我有很多关于i386的错误:

-mesa-dev-lts-utopic:i386 : Depends: mesa-common-dev-lts-utopic:i386 (= 10.3.2-0ubuntu1~trusty2) but it is not going to be installed
                               Depends: libgl1-mesa-glx-lts-utopic:i386 (= 10.3.2-0ubuntu1~trusty2) but it is not going to be installed
                               Depends: libdrm-dev:i386 (>= 2.4.52) but it is not going to be installed
                               Depends: libx11-dev:i386 but it is not going to be installed
                               Depends: libx11-xcb-dev:i386 but it is not going to be installed

我不知道为什么会出现这样的错误,因为我的ubuntu是64位。我接下来该怎么办?感谢。

我的第二个问题是ROS Indigo Igloo,ROS Jade Turtle和ROS Kinetic Kame之间有什么不同,谢谢。

2 个答案:

答案 0 :(得分:1)

ROS Kinetic Kame (最新), ROS Jade Turtle ROS Indigo Igloo 是ROS的不同版本/分布。其他ROS的分布是: ROS Hydro Medusa,ROS Groovy Galapagos,ROS Fuerte Turtle,ROS Electric Emys,ROS Diamondback,ROS C Turtle,ROS Box Turtle。

ROS Indigo 主要针对 Ubuntu 14.04 LTS 。 Indigo仅支持基于catkin的包的发布,记录和集成测试。以前,使用了基于rosbuild的软件包,ROS Indigo也支持这些软件包。

ROS jade Turtle 主要针对 Ubuntu 15.04 (Ubuntu LTS 14.04 Trusty也支持)

ROS Kinetic Kame 主要针对 Ubuntu 16.04(Xenial)(Ubuntu 15.10 Wily和Debian Jessie也支持)

现在,由于您使用的是 Ubuntu 14.04.3 64位,因此建议您安装 ROS Indigo

如果您在虚拟驱动器上使用它,您还可以从here下载Ubuntu中预安装的ROS发行版。

答案 1 :(得分:0)

我建议安装列出的依赖项(在您正在阅读的教程中):

  

sudo apt-get install xserver-xorg-dev-lts-utopic   mesa-common-dev-lts-utopic libxatracker-dev-lts-utopic   libopenvg1-mesa-dev-lts-utopic libgles2-mesa-dev-lts-utopic   libgles1-mesa-dev-lts-utopic libgl1-mesa-dev-lts-utopic   libgbm-dev-lts-utopic libegl1-mesa-dev-lts-utopic

这应解决您的问题。