Page 1 of 1

msys2 out of whack

Posted: Tue Oct 01, 2019 11:42 pm
by Dann Corbit
Since yesterday, I have not been able to synchronize my msys2 installation. I get errors like this:

Code: Select all

$ pacman -Syu
error: mingw32: signature from "Alexey Pavlov (Alexpux) <alexpux@gmail.com>" is unknown trust
error: mingw64: signature from "Alexey Pavlov (Alexpux) <alexpux@gmail.com>" is unknown trust
error: msys: signature from "Alexey Pavlov (Alexpux) <alexpux@gmail.com>" is unknown trust
:: Synchronizing package databases...
 mingw32                                                                                                    7.6 KiB  7.41M/s 00:00 [##############################################################################] 100%
 mingw32.sig                                                                                                7.6 KiB  7.42M/s 00:00 [##############################################################################] 100%
error: GPGME error: No data
error: failed to update mingw32 (invalid or corrupted database (PGP signature))
 mingw64                                                                                                    7.6 KiB  0.00B/s 00:00 [##############################################################################] 100%
 mingw64.sig                                                                                                7.6 KiB  0.00B/s 00:00 [##############################################################################] 100%
error: GPGME error: No data
error: failed to update mingw64 (invalid or corrupted database (PGP signature))
 msys                                                                                                       7.6 KiB  7.41M/s 00:00 [##############################################################################] 100%
 msys.sig                                                                                                   7.6 KiB  7.41M/s 00:00 [##############################################################################] 100%
error: GPGME error: No data
error: failed to update msys (invalid or corrupted database (PGP signature))
error: failed to synchronize all databases
I did some searches but none of the example ways to fix it have done anything useful.

I don't suppose someone knows a simple fix for this mess?

Re: msys2 out of whack

Posted: Mon Oct 07, 2019 9:21 pm
by Dann Corbit
If someone else runs into this problem, here is how to fix it:
pacman-key --init
pacman-key --populate

And a couple cycles of:
pacman -Syu