E:无法在Ubuntu 16.04上找到完整的ros动能桌面软件包



我知道已经有几个类似的问题了,但它的解决方案都不适合我。因此,经过大量的网络搜索和尝试,我决定自己打开一个Stack Overflow问题。

基本上,我让ROS Kinetic在我的Ubuntu 16.04机器上工作,当我试图构建我的catkin工作区时,它突然给了我几个错误。在尝试了一些东西之后,我决定用sudo apt-get remove ros-*卸载ROS,然后根据教程重新安装http://wiki.ros.org/kinetic/Installation/Ubuntu.

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

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 <info@osrfoundation.org>" 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有未满足的依赖关系。如果我尝试安装这些依赖项,它们也有未满足的依赖项。

如果有人能帮我,我将不胜感激。谢谢!

对于所有遇到同样问题的人,我没能解决它,最终在我的电脑上重新安装了Ubuntu。之后,一切正常。

我的建议是立即重新安装Ubuntu,如果我立即安装,我会损失更少的时间。

最新更新