manjaro-sway: πŸ› multilib.db: manjaro-sway: signature from "Jonas Strassel " is invalid

branch

stable

Architecture

x86_64

Description

I can’t do a pamac updateanymore, it results in invalid or corrupted database. It happened out of the blue and I don’t have any reproduction steps.

Reproduction steps

* Run `pamac update`

Screenshots

No response

Logs

$ pamac update                
Preparing...
Synchronizing package databases...
Refreshing manjaro-sway.db...                                                                                                                                             
Error: multilib.db: manjaro-sway: signature from "Jonas Strassel <info@jonas-strassel.de>" is invalid                                                                     
Failed to synchronize databases
Error: Failed to prepare transaction: invalid or corrupted database

$ pamac update --force-refresh
Preparing...
Synchronizing package databases...
Refreshing manjaro-sway.db...                                                                                                                                             
Refreshing core.db...                                                                                                                                                     
Refreshing extra.db...                                                                                                                                                    
Refreshing community.db...                                                                                                                                                
Refreshing multilib.db...                                                                                                                                                 
Error: multilib.db: manjaro-sway: signature from "Jonas Strassel <info@jonas-strassel.de>" is invalid                                                                     
Refreshing manjaro-sway.files...                                                                                                                                          
Refreshing core.files...                                                                                                                                                  
Refreshing extra.files...                                                                                                                                                 
Refreshing community.files...                                                                                                                                             
Refreshing multilib.files...                                                                                                                                              
Failed to synchronize databases                                                                                                                                           
Refreshing AUR...                                                                                                                                                         
Error: Failed to prepare transaction: invalid or corrupted database  

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 19 (8 by maintainers)

Most upvoted comments

I had a hard time solving this. These are my notes for everybody passing by and affected by the same (weird) issue:

sudo rm -f /var/lib/pacman/sync/* /var/cache/pacman/pkg/* /etc/pacman.d/gnupg
sudo pacman -Sy manjaro-keyring archlinux-keyring
sudo pacman-key --init
pacman-key --populate
sudo pacman -Syy

This might be the sledgehammer approach, so use with caution.

@boredland Did you already cared to include your updated key in the manjaro-keyring package or how is this process triggered ?

@boredland Btw, your key key expires 2023-07-07, it would be good to renew it soon.