signature from “Frederik Schwan <frederik.schwan@linux.com>“

版本

archlinux:

Linux version 5.4.0-132-generic (buildd@lcy02-amd64-059) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #148-Ubuntu SMP Mon Oct 17 16:02:06 UTC 2022

pacman:

Pacman v6.0.1 - libalpm v13.0.1

背景

安装docker的时候遇到签名问题

(py39) [root@wjl-684dd85f58-t72sl TechFinDataFactory]# pacman -S docker
resolving dependencies...
looking for conflicting packages...

Package (4)           New Version  Net Change

extra/bridge-utils    1.7.1-1        0.04 MiB
community/containerd  1.6.18-1     115.17 MiB
community/runc        1.1.4-1        9.35 MiB
community/docker      1:23.0.1-1   104.08 MiB

Total Installed Size:  228.63 MiB

:: Proceed with installation? [Y/n] y
checking keyring...
checking package integrity...
error: runc: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/runc-1.1.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

解决

根据

https://stackoverflow.com/questions/70442943/runc-pgp-signature-issue

的说法,需要使用pacman -S archlinux-keyring安装archlinux-keyring,也可以用pacman -S archlinuxcn-keyring
上述命令将更新Arch Linux系统中的新密钥,并禁用已吊销的密钥之后就会不会遇到类似问题了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值