Centos7 yum 安装时遇到Failing package is: kernel-headers-3.10.0-1127.13.1.el7.x86_64 GPG Keys are configured as: http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6
今天在使用yum安装的时候每个安装包都报了Failing package is: kernel-headers-3.10.0-1127.13.1.el7.x86_64
GPG Keys are configured as: http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6错误
记录一下解决办法
在每一个yum命令安装的背后加上 --nogpgcheck
例如安装gcc
yum install gcc --nogpgcheck