This seems like old and solved issue, but remedies I could find online didn't produce relief.
This is basically what happens:
$ sudo pacman -Syu
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
system 265.4 KiB 885 KiB/s 00:00 [################################################] 100%
world 4.8 MiB 16.4 MiB/s 00:00 [################################################] 100%
galaxy 391.2 KiB 2.81 MiB/s 00:00 [################################################] 100%
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
I tried out the following, based on forums, both ours and Arch ones and you can also see how it vent:
host:[user]:~$ sudo rm -rf /etc/pacman.d/gnupg /var/lib/pacman/sync
host:[user]:~$ sudo pacman-key --init
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
==> Generating pacman master key. This may take some time.
gpg: Generating pacman keyring master key...
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/45C4D421063A5B18009712071A10E7ABB5F93BCD.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
host:[user]:~$ sudo pacman-key --populate artix
==> Appending keys from artix.gpg...
==> Locally signing trusted keys in keyring...
-> Locally signed 5 keys.
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabled 1 keys.
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 5 signed: 14 trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2 valid: 14 signed: 3 trust: 14-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2024-02-26
host:[user]:~$ sudo pacman-key --refresh-keys
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key ED587B6247A4152D: "Marcus von Ditfurth (Artix Master-Key) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 7BFAD0C0864DA8E8: "Chris Cromer (Artix Master-Key) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key CF18A351C0705F6A: "Oscar Campos (Artix Master-Key) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 60448B45A4ECBA8D: "Muhammad Herdiansyah (Artix Master-Key) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key EA690BC73A4F1094: "Christos Nouskas (Artix Master Key) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 550B872C2BC73E57: "aldum <[email protected]>" 1 new signature
gpg: key 550B872C2BC73E57: "aldum <[email protected]>" 1 new subkey
gpg: Total number processed: 1
gpg: new subkeys: 1
gpg: new signatures: 1
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 5 signed: 14 trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2 valid: 14 signed: 3 trust: 14-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2024-02-26
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 73580DE2EDDFA6D6: "artist <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 1247D995F165BBAC: "Artix Buildbot <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: error retrieving '[email protected]' via WKD: No name
gpg: error reading key: No name
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key FA91071797BEEEC2: 4 signatures not checked due to missing keys
gpg: key FA91071797BEEEC2: "Chris Cromer <[email protected]>" 1 new user ID
gpg: key FA91071797BEEEC2: "Chris Cromer <[email protected]>" 3 new signatures
gpg: key FA91071797BEEEC2: "Chris Cromer <[email protected]>" 1 user ID cleaned
gpg: Total number processed: 1
gpg: new user IDs: 1
gpg: new signatures: 3
gpg: user IDs cleaned: 1
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 5 signed: 14 trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2 valid: 14 signed: 3 trust: 14-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2024-02-26
gpg: WARNING: unacceptable HTTP redirect from server was cleaned up
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 00077735933C3778: "Oscar Campos <[email protected]>" 1 new signature
gpg: key 00077735933C3778: "Oscar Campos <[email protected]>" 1 new subkey
gpg: Total number processed: 1
gpg: new subkeys: 1
gpg: new signatures: 1
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 5 signed: 14 trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2 valid: 14 signed: 3 trust: 14-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2024-02-26
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 4003D2EF625D6492: "Dudemanguy <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key FD1ED4ECEF37E2D0: "Muhammad Herdiansyah <[email protected]>" 1 new signature
gpg: key FD1ED4ECEF37E2D0: "Muhammad Herdiansyah <[email protected]>" 1 signature cleaned
gpg: Total number processed: 1
gpg: new signatures: 1
gpg: signatures cleaned: 1
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 5 signed: 15 trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2 valid: 15 signed: 3 trust: 15-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2024-02-26
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key CCD2779140DF9E58: "linuxer <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 4AE9A271C43CCAB1: "Adam Reisenauer (Myth) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key DC5A6F8092641E2D: "Nathan Owens <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 6023C3BEEAB08C4A: "Christos Nouskas (nous) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key C60E5D06320A178E: "Qontinuum <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key E10EE71073F35F57: "shyanjmc <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key AA7325972B740A9F: "Strahinya Radich <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1salec
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 27910437F88C3893: "[email protected]" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 573A673A53C01BC2: "udeved <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: error retrieving '[email protected]' via WKD: No data
gpg: error reading key: No data
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 8BB9E048A9CAC259: "physkets (Artix Linux) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
host:[user]:~$ sudo pacman -Syu
:: Synchronizing package databases...
system 265.4 KiB 1701 KiB/s 00:00 [################################################] 100%
world 4.8 MiB 24.6 MiB/s 00:00 [################################################] 100%
galaxy 391.2 KiB 8.13 MiB/s 00:00 [################################################] 100%
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))