Error in update: Invalid signature (manjaro-sway repository)

Trying to update I get following error:

error: manjaro-sway: signature from "Jonas Strassel <info@jonas-strassel.de>" is invalid
error: failed to synchronize all databases (unexpected error)
 -> error refreshing databases - exit status 1

Looks a bit like Error in keyring - Jonas Strassel signature (July 2023 edition) but the proposed solutions did not work for me. E.g. there is no https://mirror.easyname.at/manjaro/pool/sync/archlinux-keyring-YYYYMMDD-R-any.pkg.tar.zst to download as required by Pacman troubleshooting - Manjaro

My set-up: I recently added

[manjaro-sway] 
SigLevel = PackageRequired
Server = https://pkg.manjaro-sway.download/stable/$arch 

to the /etc/pacman.d.

Temporarily, I now switched off this repo again, then I could update the other packages.

Pinging @boredland . Thanks in advance for your support!

2 Likes

You set up a custom repository. The default keys provided by arch/manjaro repos should not work here.

The bug here: 🐛 Signature from "Jonas Strassel <info@jonas-strassel.de>" is invalid · Issue #644 · manjaro-sway/manjaro-sway · GitHub

It tells you to delete the db signature: sudo rm -f /var/lib/pacman/sync/manjaro-sway.db.sig

5 Likes

My key is in the default keyring. To some extent it isn’t that “unofficial”. Please delete the sig file and report if that doesn’t do the trick.

2 Likes

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