I like probably many others are constantly frustrated with downloading, or updating Sublime Text has probably encountered this specific error every time because the PGP signature changed and/or can’t be updated in the list of authorized PGP key signatures.
error: sublime-text: key "F57D4F59BD3DF454" is unknown
error: keyring is not writable
error: database 'sublime-text' is not valid (invalid or corrupted database (PGP signature))
Specifically if downloading from specific repositories on Linux the downloads are suppose to resolve to server URL like https://download.sublimetext.com/arch/stable/x86_64
or similar, but when you view the actual page where it’s suppose to get new signature PGP files and software to download from is presented with a File Not Found page. If you’ve upgraded to Sublime Text 4 you will constantly get this error but if you’re still using Sublime Text 2 up to version 3 or Dev build this seems to be no problem. On that page specifically there’s no links to point to version 4, if this is suppose to be the correct URL to resolve from in order to download the package file AND be able to verify against a PGP signature by looking to download from the server if it can.
From what it looks like, you’re pointing to a server to download, it tries to download those files, fails, thus failing the PGP signature check because it’s not able to access the files it wants. Whats worse is the fact that when it tries to check against a PGP Keyserver for PGP keys of Sublime Text, it can’t find them and outright fails, because they don’t exist on whatever keyserver it searched. Why doesn’t Sublime Text have it’s PGP keys published to other keyservers? You might find the PGP keys on http://pgp.mit.edu
but you wont find them on https://keyserver.pgp.com
or https://keyserver.ubuntu.com
and that is a problem. I’ve never liked Sublime’s way of distributing it’s packages but never having it’s PGP’s available on other keyservers and always ALWAYS causes more issues than its worth sometimes, majorly inconvenient when you just want to update your system packages and software, except they’re put on hold until you resolve the PGP Key error for Sublime Text. Some workaround solutions are to just simply outright remove the repository URL for Sublime Text entirely, and NEVER update Sublime Text ever again.