msys2 报 signature from “David Macek <[email protected]>“ is marginal trust

运行 pacman -Suy 更新软件后

出现msys2 signature from "David Macek " is unknown trust 错误

按以下结果签名老早之前的无法解决。
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

只要一条命令就可以了:

参考  Package: msys2-keyring - MSYS2 Packages

运行:pacman -S msys2-keyring 解决

你可能感兴趣的:(linux,ubuntu,centos)