Can't install manjaro keyring

I also have the problem with jonas-strassel key and tried following the steps from this thread post:

which are the same as described here in the wiki:

But when I do this I get following error:

$ sudo pacman -U manjaro-keyring-20230719-2-any.pkg.tar.xz archlinux-keyring-20230704-1-any.pkg.tar.zst

error: manjaro-sway: key "A44C644D792767CED7941AFEABB2075D5F310CF8" is unknown
:: Import PGP key A44C644D792767CED7941AFEABB2075D5F310CF8? [Y/n]
error: manjaro-sway: signature from "Jonas Strassel <info@jonas-strassel.de>" is unknown trust
error: database 'manjaro-sway' is not valid (invalid or corrupted database (PGP signature))
loading packages...
error: failed to prepare transaction (invalid or corrupted database)

You have a 3rd party repository enabled which also check for a Database signature of A44C644D792767CED7941AFEABB2075D5F310CF8. since this signature is not valid you’re stuck - kinda. You may do this:

sudo pacman-key --refresh-keys A44C644D792767CED7941AFEABB2075D5F310CF8

Thanks! Unfortunately this didn’t help:

gpg: error retrieving 'info@jonas-strassel.de' via WKD: No data
gpg: error reading key: No data
gpg: error retrieving 'jonas.strassel@manjaro.org' via WKD: No data
gpg: error reading key: No data
gpg: error retrieving 'jonas.strassel@ioki.com' via WKD: No data
gpg: error reading key: No data
gpg: error retrieving 'jo.strassel@gmail.com' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key ABB2075D5F310CF8: "Jonas Strassel <info@jonas-strassel.de>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

This fixed it for me:

sudo rm -r /etc/pacman.d/gnupg 
sudo pacman-key --init
sudo pacman-key --populate archlinux manjaro
sudo pacman-key --refresh-keys
sudo pacman -Syu

the populate part seemed to be inportant, it disabled a certain number of keys.

edit:
pamac still doesn’t work. How do I tell pamac the same information that pacman has now?

edit again:
after running sudo pamac update - even without finishing the update that way - pamac gui also got everything it needs to run without issues!

sudo should not be used with pamac.
(and based on user posts … I’m pretty sure it breaks permissions on the cache … breaking pamac)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.