代码改变世界

ros2安装经验总结

  tangxiaosheng  阅读(136)  评论(0编辑  收藏  举报

按照官网来安装的,

ubuntu20上面安装galactic系列。参考 ubuntu install ros2 
碰到问题,无法apt update, 提示“NO_PUBKEY F42ED6FBAB17C654”,参考
https://answers.ros.org/question/398460/how-to-add-a-pubkey/

解决。

我是在osboxes的镜像中安装的,已经通过mobaxterm登陆了,但后来在图形界面里设置了manual proxy,但似乎在Mobaxterm中没有生效。
于是安装了proxychains4,设置dynamic-rule和sock代理,然后结合上面的那个链接提供的方案,成功安装。

ubuntu22上面安装humble系列,安装中遇到

You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 ros-humble-ament-cmake-core : Depends: python3-catkin-pkg-modules but it is not going to be installed
 ros-humble-qt-gui : Depends: python3-catkin-pkg-modules but it is not going to be installed
 ros-humble-ros2doctor : Depends: python3-catkin-pkg-modules but it is not going to be installed

执行 apt --fix-broken install,还是没法解决问题。最后是按照 Dependency issue [duplicate] 来解决的。

相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
点击右上角即可分享
微信分享提示