数据库
首页 > 数据库> > 获取 GPG 密钥失败: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

获取 GPG 密钥失败: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

作者:互联网

mysql报错【

获取 GPG 密钥失败:
[Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022"

  原因: GPG对于包的源key的验证没有通过

处理办法:
  # 在yum install 版本后面加上 --nogpgcheck,即可绕过GPG验证成功安装
  yum install mysql-community-server --nogpgcheck

标签:GPG,KEY,Errno,gpg,file,mysql,curl,pki
来源: https://www.cnblogs.com/noobXF/p/16297035.html