参考https://www.msys2.org/news/
curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig pacman-key --verify msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig
pacman -U msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz
pacman -U --config <(echo) msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz
rm -r /etc/pacman.d/gnupg/ pacman-key --init pacman-key --populate msys2