【问题标题】:Installing ROS Kinetic on Debian Jessie在 Debian Jessie 上安装 ROS Kinetic
【发布时间】:2016-10-21 19:10:49
【问题描述】:

我尝试使用http://wiki.ros.org/kinetic/Installation/Debian 在 Denian Jessie 上安装 ROS Kinetic,但遇到了一个大问题。也许对你来说解决它不是很困难,因为我在 linux 中有点菜鸟。我的问题出在步骤上,当我需要下载并安装 kinetic-full 包时:sudo apt-get install ros-kinetic-desktop-full。进入后,我看到一条消息,说我有几个包裹。我试过 sudo apt-get install -f 但它对我没有任何作用。接下来我需要做什么魔法?我尝试安装所有这些软件包取决于ros-kinetic-desktopros-kinetic-perception,但它们在安装中存在类似问题。

sudo apt-get install ros-kinetic-desktop-full
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
Some packages can not be installed. Perhaps you are asking the impossible,
or using the unstable, some required
packages have not yet been created or been moved out of Incoming.
The following information may help you:

The packages have unmet dependencies:
 ros-kinetic-desktop-full: Depends: ros-kinetic-desktop but it will not be installed
                            Depends: ros-kinetic-perception but it is not installed
                            Depends: ros-kinetic-simulators but it is not installed
E: Unable to correct problems, you have delayed (held) broken packages.

apt-cache search ros-kinetic-desktop
ros-kinetic-desktop - A metapackage to aggregate several packages.
ros-kinetic-desktop-full - A metapackage to aggregate several packages.

【问题讨论】:

  • 您需要提供更多信息,例如您使用的是什么架构(似乎 i386 没有二进制包),sudo apt-get -f install 的输出是什么。
  • sudo apt-get -f install 给出 0-0-0 结果,uname -a 告诉以下内容:Linux lab02-216-1 3.16.0-4-amd64 #1 SMP Debian 3.16.36- 1+deb8u2 (2016-10-19) x86_64 GNU/Linux
  • apt-cache policy ros-kinetic-desktop-full怎么样
  • ros-kinetic-desktop-full:已安装:(不存在)候选:1.3.0-0jessie-20161003-135620-0700 版本表:1.3.0-0jessie-20161003-135620-0700 0 500 packages.ros.org/ros/ubuntu jessie/main amd64 包
  • 所以只需尝试再次安装它们,然后发布输出,最好是对您的问题进行编辑,这样可以保留格式。

标签: linux debian ros


【解决方案1】:

发出以下命令后

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

你应该有一个文件

ros-latest.list

/etc/apt/sources.list.d下,包含

deb http://packages.ros.org/ros/ubuntu jessie main

然后apt-get update 并按照您的帖子中的说明进行安装。

【讨论】:

  • 此服务器上没有 debian 软件包
  • 是的,我在问家长问题之前就做到了,我有模拟字符串 im ros-latest.list,我的问题出现在它之后
  • 相似是什么意思?
  • 我会尝试用它来做点什么,如果我能找到解决这个问题的任何方法 - 我会写在这里
  • 我重新安装了所有系统并理解为什么会出现这个问题。我在 rosinstall 等所有软件包中都使用了 python3 而不是 python
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-12-08
  • 2018-11-14
  • 2016-01-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多