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)

Most upvoted comments

The issue should been fixed via this: https://gitlab.manjaro.org/packages/core/manjaro-keyring/-/commit/1700b4652480b571df9b18af8f2140a058712c86 You can also issue

sudo pacman-key -d A44C644D792767CED7941AFEABB2075D5F310CF8 sudo pacman-key -r A44C644D792767CED7941AFEABB2075D5F310CF8

to fix it manually

Well you could try this for a temp fix. sudo nano /etc/pacman.conf Then comment out the whole [manjaro-sway] section. Then run the update which updates the key ring. sudo pacman -Syyu to do the update, then you can go uncomment out of the [manjaro-sway] section then run pacman -Syyu again

My issue was that I didn’t have an archlinux.gpg file in /usr/share/pacman/keyrings which I was stuck trying to receive with pacman -S archlinux-keyring. I solved it with changing the SigLevel = Required DatabaseOptional to SigLevel = TrustAll in /etc/pacman.conf until 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-aur db 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 in pacman.conf and enabled it with sudo pacman-key --edit-key <keynumber> and it worked. the world is beautiful again 😄

Thank you @boredland . You were right! At first it upgraded:

sudo pacman -Syyu                                                                                                                             
:: Synchronizing package databases...                                                                                                              
 core                                                        169,4 KiB  51,0 KiB/s 00:03 [###################################################] 100%
 extra                                                      1884,0 KiB  2004 KiB/s 00:01 [###################################################] 100%
 community                                                     7,0 MiB  2,83 MiB/s 00:02 [###################################################] 100%
 multilib                                                    178,9 KiB  1845 KiB/s 00:00 [###################################################] 100%
:: Some packages should be upgraded first...                                                                                                       
resolving dependencies...                                                                                                                          
looking for conflicting packages...                                                                                                                
                                                                                                                                                   
Packages (1) manjaro-keyring-20220514-1                                                                                                            
                                                                                                                                                   
Total Download Size:    0,07 MiB                                                                                                                   
Total Installed Size:   0,08 MiB                                                                                                                   
Net Upgrade Size:      -0,05 MiB 

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-keys That 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-keyring updates to latest version and disables the key so when it tries to fetch manjaro-sway it throws an error that the key is disabled. It’s like a loop.