I came across another GPGME error thread on the Manjaro forum.
I followed along with it (and adjusting as necessary).
[mark@asus-EOS ~]$ sudo cp -f "/etc/pacman.conf" "/etc/pacman.conf.orig"
[mark@asus-EOS ~]$ sudo sed -i 's/SigLevel.*/SigLevel = Never/' /etc/pacman.conf
[mark@asus-EOS ~]$ sudo pacman -Syy gnupg archlinux-keyring endeavouros-keyring --ignore endeavouros-system
:: Synchronizing package databases...
endeavouros 1118.0 B 758 B/s 00:01 [--------------------------------] 100%
core 117.9 KiB 105 KiB/s 00:01 [--------------------------------] 100%
extra 7.7 MiB 1425 KiB/s 00:06 [--------------------------------] 100%
multilib 134.7 KiB 119 KiB/s 00:01 [--------------------------------] 100%
error: could not open file /var/lib/pacman/sync/endeavouros.db: Unrecognized archive format
error: target not found: endeavouros-keyring
[mark@asus-EOS ~]$ sudo mv -f "/etc/pacman.conf.orig" "/etc/pacman.conf"
[mark@asus-EOS ~]$ sudo pacman -Syu
error: GPGME error: No data
:: Synchronizing package databases...
endeavouros 1118.0 B 732 B/s 00:02 [--------------------------------] 100%
core is up to date
extra is up to date
multilib is up to date
error: GPGME error: No data
error: failed to synchronize all databases (unexpected error)
Still ran into the same problem. However, I noticed a different message.
endeavouros.db: Unrecognized archive format
I did a search for that, and found this Error: could not open endeavouros.db: unrecognized file format thread which has lead me down another trail.
It seems that:
But when I comment out the suggestion, I was getting:
error: failed to synchronize all databases (no servers configured for repository)
→ error installing repo packages
So I wasn’t able to
The Solution
After chasing this a bit more, I found the culprit: a bad mirror.
But I removed it as soon as I noticed it, so I cannot share it here now (unfortunately).
Which by the way, I had been trying to use the Welcome “app” to update Arch and EndeavourOS mirrors, but they would always return 404 errors… all of them.
Anyways… the system is now updating 943+ packages.
I’m sharing all of this, so that maybe it helps someone else in the future.
Thanks again for your help.