E:无法在Ubuntu 16.04上找到ros-kinetic-desktop-full软件包

问题描述 投票:0回答:1

我知道已经有几个与此类似的问题,但是没有一个解决方案对我有用。因此,经过大量的网络搜索并尝试了其他方法之后,我只是决定自己打开一个Stack Overflow问题。

[基本上,我在我的Ubuntu 16.04计算机上使用了ROS Kinetic,当我尝试构建我的柳絮工作区时,它突然开始给我一些错误。在尝试了几样东西之后,我决定根据sudo apt-get remove ros-*教程使用http://wiki.ros.org/kinetic/Installation/Ubuntu卸载ROS,然后再次安装它。

我把安装命令的完整执行留在下面:

tomas@tomas-TOSHIBA:~ $ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
tomas@tomas-TOSHIBA:~ $ sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
Executing: /tmp/tmp.plh6QKA5mU/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv-key
C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
gpg: requesting key AB17C654 from hkp server keyserver.ubuntu.com
gpg: key AB17C654: "Open Robotics <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
tomas@tomas-TOSHIBA:~ $ sudo apt-get update
Hit:1 http://pt.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://pt.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:3 http://pt.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Hit:4 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease 
Hit:5 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease  
Hit:6 https://brave-browser-apt-release.s3.brave.com stable InRelease  
Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:8 http://packages.ros.org/ros/ubuntu xenial InRelease              
Fetched 325 kB in 6s (50.3 kB/s)                                       
Reading package lists... Done
tomas@tomas-TOSHIBA:~ $ sudo apt-get install ros-kinetic-desktop-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-kinetic-desktop-full

我已经尝试过使用curl和它们在教程中建议的其他链接来设置我的键,但是最终结果是相同的。如果尝试sudo apt-get install ros-desktop-full,则会得到:

tomas@tomas-TOSHIBA:~ $ sudo apt-get install ros-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-desktop-full : Depends: ros-desktop but it is not going to be installed
                    Depends: ros-perception but it is not going to be installed
                    Depends: ros-simulators but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

正在运行sudo aptitude install ros-desktop-full也不起作用。如果执行sudo apt-get install ros-desktop,则表示ros-desktop具有未满足的依赖性。如果我尝试安装这些依赖项,它们也将具有未满足的依赖项。

如果有人能帮助我,我将非常感谢。谢谢!

linux ubuntu-16.04 ros
1个回答
0
投票

对于所有遇到相同问题的人,我无法解决它,并最终在计算机上重新安装了Ubuntu。之后,一切正常。

我的建议是立即重新安装Ubuntu,如果立即完成安装,我将浪费更少的时间。

© www.soinside.com 2019 - 2024. All rights reserved.