downloading required keys...
:: Import PGP key C32217F6F13FF192, "Alexander Rødseth <[email protected]>"? [Y/n] Y
error: key "C32217F6F13FF192" could not be looked up remotely
:: Import PGP key 139B09DA5BF0D338, "David Runge <[email protected]>"? [Y/n] Y
error: key "139B09DA5BF0D338" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
I have tried pacman -S artix-keyring and it didnt help
Did you enable the universe repos?
as Lancia said about the universe, take it you added artix-archlinux-support, then arch repo's to pacman.conf?
https://wiki.artixlinux.org/Main/Repositories#Arch_repositories
then ran:
sudo pacman-key --populate archlinux
I'm assuming this as the e-mail address is @archlinux.org so guessing its from arch repo and not artix's.
i added the universe repo and updated and i still get the same error
and the rest? Any other repo's added to pacman.conf? list what you did afterwards (it updated after the initial install, so what was done between then and now?) would be a start (ref. the command i previously stated etc). And if you hash out those repo's, still get an error?
i have multilib and have ran sudo pacman-key --populate archlinux
and whats been added since the last successful update and how long ago was that?
joe, hopefully someone else will pick this up 'cause it feels like playing "20 questions" at the moment!
Another approach would be to figure out what packages are giving you those key errors. Then update everything else and finally update those or even uninstall and reinstall them. You can stop packages being updated using IgnorePkg in /etc/pacman.conf and / or selectively install things using pacman -S but be careful of the partial upgrade pitfalls when dealing with related items. It's most likely some packages from the Arch repos that are giving you those errors which narrows it down, also they are unlikely to be system critical items so you can (probably!) safely update everything else first.
How to find all packages you have installed from Arch repos:
pacman -Qq | grep -Fxf <(pacman -Slq extra community multilib) | grep -Fxvf <(pacman -Slq system world galaxy universe omniverse lib32)
https://forum.artixlinux.org/index.php/topic,2702.15.html (https://forum.artixlinux.org/index.php/topic,2702.15.html)
(Edit - updating just now I see there is a new version being installed, archlinux-keyring-20220727-1 which might help perhaps.)
Since I annoyingly didn't actually see a good answer here, this will fix the issue. Problem is with the default server that is entered in /etc/pacman.d/gnupg/gpg.conf
keyserver hkp://pool.sks-keyservers.net
Replace the keyserver with a known working server and you should be able to get past the issue. I'm personally using:
keyserver hkp://pgp.mit.edu:11371
for my keyserver and lets me finish my updates cleanly.
I have possibly three links that have helped me out recently :
https://wiki.artixlinux.org/Main/Troubleshooting#Invalid_or_corrupted_packages_.28PGP_signature.29
https://forum.artixlinux.org/index.php/topic,2750.0.html
https://forum.artixlinux.org/index.php/topic,4495.0.html
Whatever this problem is, it continues and changed the key server did not fix it
alsa-tools: signature from "David Runge <
[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/alsa-tools-1.2.5-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
I would suggest this:
# pacman -Rs alsa-tools
$ ls /var/cache/pacman/pkg/alsa-tools-*
(check you will rm only what you intend!)
# rm /var/cache/pacman/pkg/alsa-tools-*
# pacman -Syu
# pacman -S alsa-tools
There is an alsa-tools in both Artix omniverse and Arch community, perhaps you have the wrong version in your cache somehow? Also updating just now (although on Gremlins) brought in a new archlinux-keyring-20230504-1 package. I notice you have output mentioning David Runge Arch linux, he is the packager for the Arch community package, Carlo Den Otter is the packager for the Artix omniverse package as shown by pacman -Si alsa-tools.
I finally got a realistic solution from friends on IRC and it is worth documenting and sharing
<xarthna> mkbrkyn: pacman-key --refresh-keys
[email protected]I don't know why this works. This inside functionality of pacman is a mystery to me.
I uninstalled ALSA-TOOLS and did this
and then the reinstall went smooth as glass.