GPGME error : no data

When I updated, the rest of the update would run perfectly well other than this.
A quick search on the Arch Wiki yielded results.
I ran the command:
sudo rm -r /var/lib/pacman/sync/
Then restarted, and ran:
sudo pacman -Syu
All solved and sorted :). Back to changing my default text editor.