Manjaro System Key Signing Issues

2021年10月5日 8591点热度 7人点赞 0条评论
内容目录

Manjaro prompts when updating or installing software:

正在下载所需的密钥......
:: 是否导入 PGP 公钥 A85E811EB4CA2E08 ,"Caleb Maclennan <alerque@archlinux.org>"? [Y/n] y
:: 是否导入 PGP 公钥 E0959FEA8B550539 ,"George Rawlinson <grawlinson@archlinux.org>"? [Y/n] y
y( 71/771) 正在检查软件包完整性                                                                                                 [#######----------------------------------------------------------------------]  10( 77/771) 正在检查软件包完整性                                                                                                 [#######----------------------------------------------------------------------]  10%
(771/771) 正在检查软件包完整性                                                                                                 [#############################################################################] 100%
错误:expac: 来自 "Caleb Maclennan <alerque@archlinux.org>" 的签名是勉强信任的
:: 文件 /var/cache/pacman/pkg/expac-10-5-x86_64.pkg.tar.zst 已损坏 (无效或已损坏的软件包 (PGP 签名)).
打算删除吗? [Y/n] y
错误:tpm2-tss: 来自 "Jonas Witschel <diabonas@gmx.de>" 的签名是未知信任的
:: 文件 /var/cache/pacman/pkg/tpm2-tss-3.1.0-1-x86_64.pkg.tar.zst 已损坏 (无效或已损坏的软件包 (PGP 签名)).
打算删除吗? [Y/n] y
错误:无法提交处理 (无效或已损坏的软件包)
发生错误,没有软件包被更新。

The solution is to execute the following commands:

# 删除gnupg目录及其文件
sudo rm -r  /etc/pacman.d/gnupg/  
sudo pacman-key --init
sudo pacman-key --populate archlinux
# 启用了archlinux中文软件库的还要执行这个
sudo pacman-key --populate archlinuxcn

You may need to clear some cache to pass the trust check; you can refer to the posts on the Arch Linux official forum.
https://bbs.archlinux.org/viewtopic.php?id=143337

Not being able to install applications like WeChat is also related to this issue.

痴者工良

高级程序员劝退师

文章评论