首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >instalation 2的问题"E:找不到软件包ROS -foxy-foxy“

instalation 2的问题"E:找不到软件包ROS -foxy-foxy“
EN

Stack Overflow用户
提问于 2021-09-22 01:10:30
回答 1查看 1.3K关注 0票数 1

我尝试在ubuntu的focal (20.04)上安装ROS 2。

I went along with this instruction,但在实现此命令后:

代码语言:javascript
复制
sudo apt update

我遇到了这个问题:

代码语言:javascript
复制
Hit:1 http://ru.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ru.archive.ubuntu.com/ubuntu focal-updates InRelease                                                                                       
Hit:3 http://ru.archive.ubuntu.com/ubuntu focal-backports InRelease                                                                                                   
Hit:4 http://download.opensuse.org/repositories/home:/Alexx2000/xUbuntu_20.04  InRelease                                                                              
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease                                                                                                      
Hit:6 http://packages.osrfoundation.org/gazebo/ubuntu-stable focal InRelease                                       
Get:7 http://packages.ros.org/ros2/ubuntu focal InRelease [4,670 B]
Err:7 http://packages.ros.org/ros2/ubuntu focal 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 focal 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 focal 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.

在那之后:sudo apt install ros-foxy-desktop

我明白了:

代码语言:javascript
复制
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-foxy-desktop
EN

回答 1

Stack Overflow用户

发布于 2021-09-22 01:27:11

我修好了。基本上,我添加了新的存储库密钥并删除了旧密钥。这对我很有效:

https://answers.ros.org/question/379190/apt-update-signatures-were-invalid-f42ed6fbab17c654/

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69277078

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档