yum 安装 warning:xxx: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY

yum install mysql-devel

warning: /var/cache/dnf/mysql56-community-e7223972839acae4/packages/mysql-community-devel-5.6.51-2.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Empty mirrorlist and no basepath specified!
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.



#解决办法

修改yum源中的gpgcheck=0

参考文档:
https://www.cnblogs.com/yjc53/p/13984705.html

你可能感兴趣的:(linux,&,shell,linux,服务器,centos,yum)