Fix “error: GPGME error: No data” On Manjaro Linux

Hello Guys,

I was trying to install a package via pacman today it resulted in the error message below:

error: GPGME error: No data

From what I got to know from Manjaro Wiki: The cause of this issue is that an error or corruption has been detected by pacman in one or more software packages being downloaded. Package signatures and checksums are used to verify the validity of downloaded software, and should they fail, the installation attempt will be aborted to protect your system until the matter is resolved.

Quick Fix

To quickly fix it, I just re synced Manjaro servers:

sudo pacman -Syy

and cleared out packages downloaded earlier:

sudo pacman -Scc

After I re-run my package installation command everything worked fine. I hope yours work too, if it doesn’t fine another option here