ROS 2 Humble (Ubuntu Jammy)安装配置

官方链接Ubuntu (Debian packages) --- ROS 2 Documentation: Humble documentation

问题 1.更新源时报没有公钥的错误

sudo apt update

Hit:1 https://mirrors.ustc.edu.cn/ubuntu jammy InRelease

Hit:2 https://mirrors.ustc.edu.cn/ubuntu jammy-updates InRelease

Hit:3 https://mirrors.ustc.edu.cn/ubuntu jammy-backports InRelease

Hit:4 https://mirrors.ustc.edu.cn/ubuntu jammy-security InRelease

Hit:5 https://mirrors.ustc.edu.cn/ubuntu jammy-proposed InRelease

Get:6 http://packages.ros.org/ros2/ubuntu jammy InRelease [4,682 B]

Err:6 http://packages.ros.org/ros2/ubuntu jammy InRelease

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654

Reading package lists... Done

W: GPG error: http://packages.ros.org/ros2/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654

E: The repository 'http://packages.ros.org/ros2/ubuntu jammy InRelease' is not signed.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.

原因 :添加ROS 2 GPG key 失败了,https://raw.githubusercontent.com/ros/rosdistro/master/ros.key这个文件墙内获取不了,所以正确方法是不要学ROS了,获取这个key是高风险行为,Over

相关推荐
派阿喵搞电子1 小时前
在UI界面内修改了对象名,在#include “ui_mainwindow.h“没更新
c++·qt·ubuntu·ui
地衣君5 小时前
RISC-V 开发板 + Ubuntu 23.04 部署 open_vins 过程
linux·ubuntu·risc-v
5:005 小时前
云备份项目
linux·开发语言·c++
码农101号5 小时前
Linux中shell编程表达式和数组讲解
linux·运维·服务器
powerfulzyh6 小时前
非Root用户启动SSH服务经验小结
运维·ssh
云道轩6 小时前
升级centos 7.9内核到 5.4.x
linux·运维·centos
是小满满满满吗6 小时前
传输层:udp与tcp协议
linux·服务器·网络
爱学习的小道长6 小时前
Ubuntu Cursor升级成v1.0
linux·运维·ubuntu
EelBarb6 小时前
seafile:ubuntu搭建社区版seafile12.0
linux·运维·ubuntu
Xam_d_LM6 小时前
【Latex】Windows/Ubuntu 绘制 eps 矢量图通用方法(drawio),支持插入 Latex 数学公式
linux·ubuntu·科研·矢量图·drawio