manjaro-sway: error: manjaro-sway: key "Jonas Strassel " is disabled
After manjaro-keyring update getting into this:
yay -Syyu
error: manjaro-sway: key "Jonas Strassel <info@jonas-strassel.de>" is disabled
:: Synchronizing package databases...
core 169.1 KiB 633 KiB/s 00:00 [################################] 100%
extra 1854.2 KiB 4.42 MiB/s 00:00 [################################] 100%
community 6.9 MiB 6.59 MiB/s 00:01 [################################] 100%
multilib 182.0 KiB 1877 KiB/s 00:00 [################################] 100%
manjaro-sway 22.4 KiB 203 KiB/s 00:00 [################################] 100%
error: manjaro-sway: key "Jonas Strassel <info@jonas-strassel.de>" is disabled
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
-> error installing repo packages
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 31 (13 by maintainers)
@andrius see https://github.com/Manjaro-Sway/manjaro-sway/issues/274#issuecomment-1116333655
That solved it for me.
The issue should been fixed via this: https://gitlab.manjaro.org/packages/core/manjaro-keyring/-/commit/1700b4652480b571df9b18af8f2140a058712c86 You can also issue
to fix it manually
Well you could try this for a temp fix.
sudo nano /etc/pacman.confThen comment out the whole [manjaro-sway] section. Then run the update which updates the key ring.sudo pacman -Syyuto do the update, then you can go uncomment out of the [manjaro-sway] section then run pacman -Syyu againMy issue was that I didn’t have an archlinux.gpg file in
/usr/share/pacman/keyringswhich I was stuck trying to receive withpacman -S archlinux-keyring. I solved it with changing theSigLevel = Required DatabaseOptionaltoSigLevel = TrustAllin/etc/pacman.confuntil it was able to install the archlinux-keyring. After that was done, I did the same process as @hakanyi 's link and looks working again. I’m unsure how I might have removed the keyring initially but glad it’s working now. Thanks for all those that helped 😃@Mathew-D I tried @hakanyi 's solution and got it fixed. after removing all keys and reinstalling them, Mark Wagie’s key became trusted again, and another problem accrued. the
chaotic-aurdb file became untrusted so i had to comment that too in/etc/pacman.conf. after that i could upgrade the system. so i sayed maybe i can fix jonas’s key too, i uncommented that section inpacman.confand enabled it withsudo pacman-key --edit-key <keynumber>and it worked. the world is beautiful again 😄Thank you @boredland . You were right! At first it upgraded:
and then everything worked … Thank you so so much 👏🏿
Try following @hakanyi link’s and removing your whole key set and resetting them up. The error you are getting is different from the main one with Jonas Strassel’s key as Mark Wagie’s key comes from the Main Manjaro database.
@ehsanghorbani190 after commenting out the manjaro-sway, run this to update your keys.
sudo pacman-key --refresh-keysThat should help with the mark key problem.I have the same issue as @ehsanghorbani190 with the same output.
At the moment, the key is revoked and trusted at the same time. My workaround to be able to fetch package database (and do package upgrades) is to enable the key as per this forum post.
@heapifyman it doesn’t help, after doing
sudo pacman -Syyu,manjaro-keyringupdates to latest version and disables the key so when it tries to fetchmanjaro-swayit throws an error that the key is disabled. It’s like a loop.