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即可

  • 相关阅读:
    函数
    向discuz里填充数据
    CI 基础
    FlashBuilder设置显示字符集
    win2003 Email邮件服务器搭配
    CI 模块化显示[仿照shopex功能]
    DW的鸟语
    CI 视图里加视图
    silverlight模拟单击事件
    自定义XML配置文件的操作类(转)
  • 原文地址:https://www.cnblogs.com/zqsb/p/11115454.html
Copyright © 2011-2022 走看看