Pacman invalid or corrupted database (PGP Signature)
Hello, trying to do "sudo pacman -Syu" on my desktop running arch returned :
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronising package databases...
core 155.5 KiB 219 KiB/s 00:01 [####################################] 100%
extra 1729.6 KiB 361 KiB/s 00:05 [####################################] 100%
community 6.6 MiB 364 KiB/s 00:19 [####################################] 100%
multilib 172.6 KiB 336 KiB/s 00:01 [####################################] 100%
error: GPGME error: No data
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))
After searching around for a solution, what worked was either removing the <*.db.sig> files from /var/lib/pacman/sync or deleting the sync folder and letting it regenerate WITHOUT the .sig files by running pacman -Syu.
However, editing de Siglevel to Required (removing the DatabaseOptional option), this no longer works. For this reason and from the research I had done, I was worried this solution leaves my system vulnerable so I decided to check if the arch install on my laptop, which was pretty much a fresh install only a couple of weeks old, had those .sig files.
To my surprise, not only were those files missing, but I got the exact same error from "sudo pacman -Syu" as I did on my desktop, despite the fact that removing those same files on the desktop had been the solution there.
Could anyone help me make sense of this, and help me fix the issue without leaving my systems vulnerable? Thank you very much
Posted Jun 2, 2022, 3:44 AM UTC · edited
first update your mirrors with reflector or something,
then do ->
if that doesnt work do ->
I tried both and while it does solve the error: GPGME error: No data issue, the .sig files didnt return. Thank you though
what sig file?