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

相关推荐
tan77º6 分钟前
【Linux网络编程】Socket - UDP
linux·服务器·网络·c++·udp
czhc114007566318 分钟前
Linux 76 rsync
linux·运维·python
你不知道我是谁?1 小时前
负载均衡--四层、七层负载均衡的区别
运维·服务器·负载均衡
蓝易云1 小时前
Qt框架中connect()方法的ConnectionType参数使用说明 点击改变文章字体大小
linux·前端·后端
dyj0952 小时前
【Rancher Server + Kubernets】- Nginx-ingress日志持久化至宿主机
运维·nginx·rancher
花落已飘2 小时前
多线程 vs 异步
linux·网络·系统架构
PanZonghui2 小时前
Centos项目部署之Nginx部署项目
linux·nginx
码出钞能力3 小时前
linux内核模块的查看
linux·运维·服务器
星辰云-3 小时前
# Linux Centos系统硬盘分区扩容
linux·运维·centos·磁盘扩容
Hellc0074 小时前
Nginx 高级 CC 与 DDoS 防御策略指南
运维·nginx·ddos