yum 安装软件包的时候包下面的错
s this ok [y/N]:
Didn't install any keys
Public key for docker-buildx-plugin-0.14.0-1.el8.x86_64.rpm is not installed. Failing package is: docker-buildx-plugin-0.14.0-1.el8.x86_64
GPG Keys are configured as: https://mirrors.aliyun.com/docker-ce/linux/centos/gpg
Public key for docker-ce-26.1.3-1.el8.x86_64.rpm is not installed. Failing package is: docker-ce-3:26.1.3-1.el8.x86_64
GPG Keys are configured as: https://mirrors.aliyun.com/docker-ce/linux/centos/gpg
Public key for docker-ce-cli-26.1.3-1.el8.x86_64.rpm is not installed. Failing package is: docker-ce-cli-1:26.1.3-1.el8.x86_64
GPG Keys are configured as: https://mirrors.aliyun.com/docker-ce/linux/centos/gpg
Public key for docker-ce-rootless-extras-26.1.3-1.el8.x86_64.rpm is not installed. Failing package is: docker-ce-rootless-extras-26.1.3-1.el8.x86_64
GPG Keys are configured as: https://mirrors.aliyun.com/docker-ce/linux/centos/gpg
Public key for docker-compose-plugin-2.27.0-1.el8.x86_64.rpm is not installed. Failing package is: docker-compose-plugin-2.27.0-1.el8.x86_64
GPG Keys are configured as: https://mirrors.aliyun.com/docker-ce/linux/centos/gpg
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: GPG check FAILED
查询了一下资料,应该是yum源过期了,没用了,需要替换新的镜像包
我是先把原repo文件bak一下
然后下载镜像的镜像
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
yum clean all
yum makecache
重新安装下包,可以安装了