error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is marginal trust

参考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

 

posted @ 2020-09-30 10:29  苍洱  阅读(3824)  评论(0编辑  收藏  举报