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

相关推荐
酷爱码12 分钟前
Linux实现临时RAM登录的方法汇总
linux·前端·javascript
muxue17822 分钟前
chmod 777含义:
linux
Snasph27 分钟前
Ubnutu ADB 无法识别设备的解决方法
ubuntu·adb
帷幄庸者37 分钟前
CentOS 上配置 Docker 使用 NVIDIA GPU
linux·docker·centos
xbd_zc1 小时前
【Linux Nano Vim快捷键大全】
linux·运维·vim
Mapleay1 小时前
ubuntu 更新华为源
运维·服务器·ubuntu
shane-u1 小时前
Dockerfile实战:从零构建自定义CentOS镜像
linux·运维·centos
XiaoCCCcCCccCcccC1 小时前
Linux 的 UDP 网络编程 -- 回显服务器,翻译服务器
linux·网络·udp
风暴智能1 小时前
获取相机图像(ROS2)
linux·机器人·无人机
中国lanwp2 小时前
使用Maven和Ant上传文件到Linux服务器
linux·服务器·maven