野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6817|回复: 5

[求助] ebf-image-builder编译出现签名失效错误

[复制链接]
发表于 2021-11-12 18:25:24 | 显示全部楼层 |阅读模式
几个月前ebf-image-builder可以make编译成功,今天准备重新make编译一下,却始终报错。



nameserver 127.0.0.53
options edns0
search localdomain
---------------------------------
'/etc/resolv.conf' -> '/etc/resolv.conf.bak'
---------------------------------
debug: apt-get update------------
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease
Get:2 https://cloud.embedfire.com/mirrors/ebf-debian buster InRelease [5490 B]
Get:3 https://cloud.embedfire.com/mirrors/ebf-debian carp-imx6 InRelease [5493 B]
Err:2 https://cloud.embedfire.com/mirrors/ebf-debian buster InRelease
  The following signatures were invalid: EXPKEYSIG 8C02E9210430241B laoyening <1337849843@qq.com>
Err:3 https://cloud.embedfire.com/mirrors/ebf-debian carp-imx6 InRelease
  The following signatures were invalid: EXPKEYSIG 8C02E9210430241B laoyening <1337849843@qq.com>
Reading package lists... Done
W: Download is performed unsandboxed as root as file '/var/lib/apt/lists/partial/mirrors.tuna.tsinghua.edu.cn_debian_dists_buster_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
W: GPG error: https://cloud.embedfire.com/mirrors/ebf-debian buster InRelease: The following signatures were invalid: EXPKEYSIG 8C02E9210430241B laoyening <1337849843@qq.com>
E: The repository 'https://cloud.embedfire.com/mirrors/ebf-debian 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.
W: GPG error: https://cloud.embedfire.com/mirrors/ebf-debian carp-imx6 InRelease: The following signatures were invalid: EXPKEYSIG 8C02E9210430241B laoyening <1337849843@qq.com>
E: The repository 'https://cloud.embedfire.com/mirrors/ebf-debian carp-imx6 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.
Log: umount: [/home/embedfire/ebf-image-builder/ignore/tmp.hzuFKxRvbi/dev/pts]
Log: umount: [/home/embedfire/ebf-image-builder/ignore/tmp.hzuFKxRvbi/proc]
Log: umount: [/home/embedfire/ebf-image-builder/ignore/tmp.hzuFKxRvbi/sys]
Log: umount: [/home/embedfire/ebf-image-builder/ignore/tmp.hzuFKxRvbi/run]
/home/embedfire/ebf-image-builder/publish/fire-imx-stable.sh:行 22: 114801 已终止               keep_net_alive
Makefile:5: recipe for target 'all' failed
make: *** [all] Error 1


回复

使用道具 举报

发表于 2021-11-17 09:01:50 | 显示全部楼层
你好,我遇到跟你一样的问题了,请问你最后解决了吗?用什么方法解决的呢?
回复 支持 反对

使用道具 举报

发表于 2021-11-17 10:21:31 | 显示全部楼层
  1. curl https://Embedfire.github.io/keyfile | sudo apt-key add -
复制代码
由于GPG秘钥过期,需要更新GPG秘钥。手动执行以上命令可以更新

回复 支持 1 反对 0

使用道具 举报

 楼主| 发表于 2021-11-17 22:36:46 | 显示全部楼层
本帖最后由 adrien 于 2021-11-17 22:38 编辑

好像还是不行,在虚拟机里更新了密钥,重新编译还是报一样的错误,签名无效,似乎没有更新成功,是我操作有问题么

野火论坛202111172237578655..png
野火论坛202111172233573145..png
回复 支持 反对

使用道具 举报

发表于 2021-11-18 10:31:59 | 显示全部楼层
按照技术支持的说法,要重新更新一下这个构建仓库:git pull,之后就可以编译了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2021-11-18 14:59:07 | 显示全部楼层
搞定了,下载https://github.com/Embedfire/Embedfire.github.io路径下的keyfile文件,替换ebf-image-builder/target/keyring/目录下同名文件,重新编译就可以了。
多谢几位热心的兄弟
回复 支持 1 反对 0

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-1 20:07 , Processed in 0.042187 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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