这个是由于没有导入rpm签名信息引起的 解决方案: rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 转载于:https://www.cnblogs.com/JiangLe/p/5009750.html