4

Manjaro-printer invalid corrupted package (PGP signature)

 1 year ago
source link: https://www.80shihua.com/archives/3251
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Manjaro-printer invalid corrupted package (PGP signature) – 梦回故里

梦回故里 梦回故里是一个ph
梦回故里 你心中无爱,怎会懂珍惜二字。
会写一辈子代码的程序员

我们在更新 arch 系统的时候,可能会出现下面的错误。

error: package-name: signature from "packager" is unknown trust

发生这种情况是因为软件包中使用的 键在本地 pacman-key gpg 数据库中不存在和 / 或不信任。Pacman 似乎并不总是能够在继续之前检查密钥是否已收到并标记为受信任。这也可能是因为密钥在添加到钥匙串后已过期。

当我们更新 manjaro 的时候,会提示错误的签名,删除又删除不掉,这个时候我们可以使用下面的两种方式进行解决。

  1. 手动同步软件包数据库并升级 archlinux-keyring 软件包,然后进行更新
pacman -Sy archlinux-keyring && pacman -Su
  1. 刷新秘钥。
sudo pacman-key --refresh-keys

删除或重置系统中安装的所有密钥,方法是删除目录(以 root 身份)并重新运行,然后重新添加默认密钥。

/etc/pacman.d/gnupgpacman-key --initpacman-key --populate

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK