If you encounter this error on arch
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))and already spent 10 hours finding the fix.
And almost switch to another distro
Here is the fix
rm -r /etc/pacman.d/gnupg /var/lib/pacman/sync pacman-key --init pacman -Scc pacman -Syyu # here PGPME error is ok I still have an issue with Artix Buildbot <[email protected]> key pacman-key --refresh-keys pacman-key --populate archlinux artix pacman -Syu # Here Now everything is back to normal
I didn’t come up with this fix, all thanks to this golden heart just saved me from another hours installing ubuntu https://forum.artixlinux.org/index.php?PHPSESSID=g7k4i3880b6lvhl2cs97phocbj&topic=5944.msg37097#msg37097
Thanks!

I build softwares that solve problems. I also love writing/documenting things I learn/want to learn.