我尝试使用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-desktop
和ros-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.
答案 0 :(得分:0)
发出以下命令后
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
<{1>}下的,包含
/etc/apt/sources.list.d
然后deb http://packages.ros.org/ros/ubuntu jessie main
按照帖子中的说明进行安装。