zoukankan      html  css  js  c++  java
  • Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY

    yum安装mysql5.7 下载安装包警告提示信息:

    Total download size: 194 M
    Downloading packages:
    warning: /var/cache/yum/x86_64/7/mysql57-community/packages/mysql-community-common-5.7.26-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY                                                                              ]  0.0 B/s |  90 kB  --:--:-- ETA 
    Public key for mysql-community-common-5.7.26-1.el7.x86_64.rpm is not installed
    
    

    下载软件包完成,安装的时候提示信息:

    Total                                                                                                                                                                                                                                            49 kB/s | 194 MB  01:06:58     
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    
    
    The GPG keys listed for the "MySQL 5.7 Community Server" repository are already installed but they are not correct for this package.
    Check that the correct key URLs are configured for this repository.
    
    
     Failing package is: mysql-community-server-5.7.26-1.el7.x86_64
     GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
    
    

    网上有很多问题的方法,其实最简单就是修改yum源,对应安装的版本不检查GPG key就可以解决。

    安装mysql使用的是官方的源配置文件:/etc/yum.repos.d/mysql-community.repo

    gpgcheck 设置的值设置为0即可

  • 相关阅读:
    js实现冒泡排序
    AngularJS控制器
    AngularJS指令
    AngularJS表达式
    AngularJS基础
    Python小例子(判断质数)
    Python小例子(求和)
    Python笔记
    js小例子(简单模糊匹配输入信息)
    word学习笔记
  • 原文地址:https://www.cnblogs.com/zqsb/p/11115454.html
Copyright © 2011-2022 走看看