Sublime Forum

Sublime-text: signature from "Sublime HQ Pty Ltd is invalid


Out of nowhere, while I tried to add a package this morning on my Manjaro system, I’m getting this error:

Synchronizing package databases…
Refreshing sublime-text.db…
Error: sublime-text.db: sublime-text: signature from “Sublime HQ Pty Ltd” is invalid
invalid or corrupted database (PGP signature)
Failed to synchronize databases
Error: Failed to prepare transaction: invalid or corrupted database

I commented out the repo line in /etc/pacman.conf which fixed the problem as far as installing packages go. Just like to know if this is likely to be an error at my end, or at Sublime’s?

I ran:

curl -O && sudo pacman-key --add sublimehq-pub.gpg && sudo pacman-key --lsign-key 8A8F901A && rm sublimehq-pub.gpg

In the hope of fixing the issue but no joy.





cd /var/lib/pacman/sync && sudo rm sublime-text.db.sig

Everything goes back as before. Each time the problem recurs, delete that file.