来自“TNE ”的签名是未知信任 - 包无效或损坏

来自“TNE ”的签名是未知信任 - 包无效或损坏

在跑步的时候pacman -Syu

在“(8/8)检查包完整性”之后,我遇到了这些包的以下问题:

error: 7-zip: signature from "TNE <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/7-zip-23.01-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: brave-bin: signature from "TNE <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/brave-bin-1:1.52.126-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: pamac-aur: signature from "TNE <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/pamac-aur-11.0.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: spotify: signature from "TNE <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/spotify-1:1.2.13.661-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: visual-studio-code-bin: signature from "TNE <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/visual-studio-code-bin-1.79.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: yay: signature from "TNE <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/yay-12.1.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: zoom: signature from "TNE <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/zoom-5.15.0-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 (PGP signature))
Errors occurred, no packages were upgraded.

到目前为止,我已经尝试运行这个(没有成功):

  • sudo pacman -S archlinux-keyring|pacman -Su

  • pacman -Sy archlinux-keyring|pacman-key --refresh-keys

  • pacman-key --delete 91BD8815FE0040FA7FF5D68754C28F4FF5A1A949|pacman-key --populate archlinux

  • pacman-key --delete D6C9442437365605|pacman-key --populate archlinux

  • sudo pacman -Sc

  • sudo pacman -Fy

答案1

我在 Linux.Chat Discord 服务器上得到了一些帮助,Theros(帮助我的用户)找到了解决这个问题的方法:

“看起来你的 0xd6c9442437365605 之后来自 ubuntus 密钥服务器 https://keyserver.ubuntu.com/pks/lookup?search=tne%40garudalinux.org&fingerprint=on&op=index 虽然考虑到 garuda 使用混沌,你应该只需要混沌钥匙串,是的,这似乎是正确的,考虑到 archcraft 看起来像是使用混沌来做东西 https://github.com/archcraft-os/archcraft/issues/251

所以我设法按照以下步骤修复它:

  • sudo pacman-key --recv-key D6C9442437365605 --keyserver keyserver.ubuntu.com
  • sudo pacman-key --lsign-key D6C9442437365605
  • sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'

相关内容