野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1409|回复: 1

[求助] 第 21 章 Debian 根文件系统的构建的

[复制链接]
发表于 2023-5-31 09:20:04 | 显示全部楼层 |阅读模式
1,按手册上配置好config_file


2,运行multistrap -a armhf -d ./rootfs/ -f ./config_file
3,出现以下问题

/embedfire/lhf/multistrap/rootfs/var/cache/apt/ update
获取:1 http://mirrors.bfsu.edu.cn/debian buster InRelease [122 kB]                                             
错误:1 http://mirrors.bfsu.edu.cn/debian buster InRelease                                                      
  由于没有公钥,无法验证下列签名: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY DCC9EFBF77E11517
获取:2 https://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease [122 kB]           
错误:2 https://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease
  由于没有公钥,无法验证下列签名: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY DCC9EFBF77E11517
正在读取软件包列表... 完成  
W: GPG 错误:http://mirrors.bfsu.edu.cn/debian buster InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY DCC9EFBF77E11517
E: 仓库 “http://mirrors.bfsu.edu.cn/debian buster InRelease” 没有数字签名。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
W: GPG 错误:https://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY DCC9EFBF77E11517
E: 仓库 “https://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease” 没有数字签名。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
apt update failed. Exit value: 100


运行sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 648ACFD622F3D138 0E98404D386FA1D9 DCC9EFBF77E11517也不起作用。


回复

使用道具 举报

发表于 2023-6-1 08:36:28 | 显示全部楼层
curl http://mirrors.bfsu.edu.cn/keyfile | sudo apt-key add -

试试
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-3-28 21:35 , Processed in 0.030582 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表