chaotic-aur / toolbox

Unified kit with all the scripts required for maintaining the repository 🧰
https://aur.chaotic.cx
GNU Affero General Public License v3.0
81 stars 11 forks source link

Import PGP key 349BC7808577C592? [Y/n] error: required key missing from keyrin" #86

Closed bf closed 1 year ago

bf commented 1 year ago

I get error message Import PGP key 349BC7808577C592? [Y/n] error: required key missing from keyrin even though website says pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com.

The keys differ. I tried different mirrors.

dr460nf1r3 commented 1 year ago

Yeah, I updated the mirrorlist yesterday and forgot it needs to be built by the ufscar-hpc node these days (it didn't need to be the time before). Bumped it here, so it should be available in a few hours: https://github.com/chaotic-aur/pkgbuild-chaotic-mirrorlist/commit/56423742f42ff4be23bce65f0bfb95c9bf788da3

You may workaround that by adding the mentioned key to the commands - its the key of one of ours builders (garuda-cluster to be exact).

❯ pacman -Sii chaotic-mirrorlist
Repository      : chaotic-aur
Name            : chaotic-mirrorlist
Version         : 20230710-1
Description     : Chaotic-AUR mirrorlist to use with Pacman
Architecture    : any
URL             : https://aur.chaotic.cx
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : None
Required By     : garuda-hooks
Optional For    : None
Conflicts With  : None
Replaces        : None
Download Size   : 4,14 KiB
Installed Size  : 6,48 KiB
Packager        : Nico Jensch <dr460nf1r3@chaotic.cx>
Build Date      : Mo 10 Jul 2023 16:52:48 CEST
MD5 Sum         : 14832e2ab1679d7af540af4d569c5584
SHA-256 Sum     : 0397bbc4f808252e7c6b7aa65fc1d103940fef304483b44e04627b9a072db5fb
Signatures      : 349BC7808577C592
bf commented 1 year ago

Thanks @dr460nf1r3 - I discussed this on #archlinux a bit. What solved the issue for me is to run pacman -U chaotic-keyring and then pacman -U chaotic-mirrorlist. So maybe if the website is adapted to split the pacman -U to two calls instead of one it'd also work.

dr460nf1r3 commented 1 year ago

The correct package has been deployed!