无法找到ROS包装
我在通过此教程安装ROS软件包 https:https:// nxp。 gitbook.io/nxp-aim/installation-of-nxp-gazebo
$ ./foxy_install_aim.sh
正在给出以下错误
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
curl is already the newest version (7.81.0-1ubuntu1.2).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
Hit:1 http://in.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:5 http://packages.ros.org/ros2/ubuntu jammy InRelease
Fetched 110 kB in 2s (52.0 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: http://packages.ros.org/ros2/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'xorg' instead of 'x-window-system'
E: Unable to locate package gazebo11
E: Unable to locate package libgazebo11-dev
E: Unable to locate package ros-foxy-ros-base
E: Unable to locate package ros-foxy-desktop
E: Unable to locate package ros-foxy-cv-bridge
E: Unable to locate package ros-foxy-image-tools
E: Unable to locate package ros-foxy-image-transport
E: Unable to locate package ros-foxy-image-transport-plugins
E: Unable to locate package ros-foxy-image-pipeline
E: Unable to locate package ros-foxy-camera-calibration-parsers
E: Unable to locate package ros-foxy-camera-info-manager
E: Unable to locate package ros-foxy-launch-testing-ament-cmake
E: Unable to locate package ros-foxy-cv-bridge
E: Unable to locate package ros-foxy-vision-opencv
E: Unable to locate package ros-foxy-gazebo-dev
E: Unable to locate package ros-foxy-gazebo-msgs
E: Unable to locate package ros-foxy-gazebo-msgs-dbgsym
E: Unable to locate package ros-foxy-gazebo-plugins
E: Unable to locate package ros-foxy-gazebo-plugins-dbgsym
E: Unable to locate package ros-foxy-gazebo-ros
E: Unable to locate package ros-foxy-gazebo-ros2-control
E: Unable to locate package ros-foxy-gazebo-ros2-control-dbgsym
E: Unable to locate package ros-foxy-gazebo-ros2-control-demos
E: Unable to locate package ros-foxy-gazebo-ros2-control-demos-dbgsym
E: Unable to locate package ros-foxy-gazebo-ros-dbgsym
E: Unable to locate package ros-foxy-gazebo-ros-pkgs
E: Unable to locate package ros-foxy-vision-msgs
E: Unable to locate package ros-foxy-vision-msgs-dbgsym
sudo: geographiclib-get-geoids: command not found
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
./foxy_install_aim.sh: line 41: /opt/ros/foxy/setup.bash: No such file or directory
“ e:”看起来像错误,但我不确定我应该如何解决这些错误。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
也许您缺少APT配置中的一些资源。
设置源
您需要将ROS 2 APT存储库添加到系统中。
首先,确保Ubuntu Universe存储库是由
检查此命令的输出。
这应该输出以下一条线:
如果您看不到上面的输出行,则使用这些说明启用宇宙存储库:
现在,将ROS 2 APT APT存储库添加到您的系统中。
然后将存储库添加到您的源列表中。
设置存储库后,更新您的APT存储库缓存。
Maybe you are missing some sources in your apt configuration.
Setup Sources
You will need to add the ROS 2 apt repositories to your system.
First, make sure that the Ubuntu Universe repository is enabled by
checking the output of this command.
This should output a line like the one below:
If you don’t see an output line like the one above, then enable the Universe repository with these instructions:
Now add the ROS 2 apt repository to your system.
Then add the repository to your sources list.
Update your apt repository caches after setting up the repositories.
对于现在遇到此错误的任何人,Ros-Foxy-*已过时。 ros-rir-riron-*在我写这篇文章时正在工作。我花了很长时间才弄清楚这一点...
https://docs.ros.or.or.org/en/rirn/rirn/rirn/安装/ubuntu-install-debians.html
For anyone getting this error now, ROS-FOXY-* is outdated. ROS-IRON-* is working as I write this. Took me too long time to figure this out...
https://docs.ros.org/en/iron/Installation/Ubuntu-Install-Debians.html
您正在使用哪个版本的Ubuntu?我与22.04遇到了同样的问题。我安装了20.04,然后工作了。
Which version of ubuntu are you using? I had the same issue with 22.04 which was not supported. I installed 20.04 and then it worked.
我遇到了一个完全相同的问题,试图将ROS2设置在Raspberry Pi上,并找到了解决方案:问题是我的时钟没有同步,并且操作系统认为是昨天。我必须进入设置并做两件事:在“日期& Time”下,手动设置日期和时间。然后,在“隐私”下,打开位置服务。然后按照ROS文档中的步骤(),它起作用。因此,我认为如果您的时钟落后,也许关于卷曲命令不起作用。
I had the exact same problem trying to setup ros2 humble on a Raspberry Pi and found the solution: The issue was my clock wasn't synchronized and the OS thought it was yesterday. I had to go into the settings and do two things: Under "Date & Time", manually set the date and time. Then, under "Privacy", turn Location Services on. THEN follow the steps in the ros documentation (https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html) and it worked. So I think maybe something about the curl command doesn't work if your clock is behind.