嵌入式LINUX开发系列之radxa zero 执行sudo apt update 出问题

radxa zero 执行sudo apt update 出问题

在这里插入图片描述


问题描述

rock@radxa-zero:/boot$ sudo apt update
[sudo] password for rock:
Get:1 http://security.debian.org buster/updates InRelease [34.8 kB]
Get:2 http://httpredir.debian.org/debian buster InRelease [122 kB]
Get:3 http://security.debian.org buster/updates/main arm64 Packages [585 kB]
Get:4 http://httpredir.debian.org/debian buster-updates InRelease [56.6 kB]
Get:5 http://apt.radxa.com/buster-stable buster InRelease [2363 B]
Get:6 http://httpredir.debian.org/debian buster-backports InRelease [51.4 kB]
Err:5 http://apt.radxa.com/buster-stable buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9B98116C9AA302C7
Get:7 http://httpredir.debian.org/debian buster/main arm64 Packages [7737 kB]
Get:8 http://security.debian.org buster/updates/main Translation-en [322 kB]
Get:9 http://security.debian.org buster/updates/contrib arm64 Packages [3452 B]
Get:10 http://security.debian.org buster/updates/contrib Translation-en [1488 B]
Get:11 http://security.debian.org buster/updates/non-free arm64 Packages [5500 B]
Get:12 http://security.debian.org buster/updates/non-free Translation-en [24.8 kB]
Get:13 http://httpredir.debian.org/debian buster/main Translation-en [5969 kB]
Get:14 http://httpredir.debian.org/debian buster/contrib arm64 Packages [38.4 kB]
Get:15 http://httpredir.debian.org/debian buster/contrib Translation-en [44.2 kB]
Get:16 http://httpredir.debian.org/debian buster/non-free arm64 Packages [53.9 kB]
Get:17 http://httpredir.debian.org/debian buster/non-free Translation-en [88.9 kB]
Get:18 http://httpredir.debian.org/debian buster-updates/main arm64 Packages [8780 B]
Get:19 http://httpredir.debian.org/debian buster-updates/main Translation-en [6915 B]
Get:20 http://httpredir.debian.org/debian buster-backports/main arm64 Packages [476 kB]
Get:21 http://httpredir.debian.org/debian buster-backports/main Translation-en [410 kB]
Get:22 http://httpredir.debian.org/debian buster-backports/contrib arm64 Packages [8520 B]
Get:23 http://httpredir.debian.org/debian buster-backports/contrib Translation-en [8088 B]
Get:24 http://httpredir.debian.org/debian buster-backports/non-free arm64 Packages [23.8 kB]
Get:25 http://httpredir.debian.org/debian buster-backports/non-free Translation-en [39.1 kB]
Reading package lists... Done
W: GPG error: http://apt.radxa.com/buster-stable buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9B98116C9AA302C7
E: The repository 'http://apt.radxa.com/buster-stable buster 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.

原因分析:

这个错误表明 apt 无法验证 apt.radxa.com 源的签名,因为缺少公钥。要解决这个问题,需要手动添加缺失的公钥。


解决办法:

添加缺失的公钥:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9B98116C9AA302C7
  • 7
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值