msys2 out of whack

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
Dann Corbit
Posts: 9988
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

msys2 out of whack

Post by Dann Corbit » Tue Oct 01, 2019 9:42 pm

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?
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.

Dann Corbit
Posts: 9988
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: msys2 out of whack

Post by Dann Corbit » Mon Oct 07, 2019 7:21 pm

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
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.

Post Reply