Install MySQL encounter: Warning:rpmts_HdrFromFdno:Header V3 DSA Signature:nokey

Source: Internet
Author: User
Tags gpg

[[email protected] yum.repos.d]# rpm-e--nodeps MySQL
Error:package MySQL is not installed
[[email protected] yum.repos.d]# rpm-qa |grep MySQL

[[email protected] yum.repos.d]# yum install MySQL
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
MySQL i386 5.0.95-5.el5_9 base 4.9 M
MySQL x86_64 5.0.95-5.el5_9 base 4.9 M
Installing for dependencies:
PERL-DBI x86_64 1.52-2.el5 Base K

Transaction Summary
================================================================================
warning:rpmts_HdrFromFdno:Header V3 DSA Signature:nokey,Key ID e8562897--------------> No GPG key
Base/gpgkey | 1.7 KB 00:00

Public key for mysql-5.0.95-5.el5_9.x86_64.rpm are not installed


---------Use option:--nogpgcheck

[Email protected] yum.repos.d]#yum install MySQL--nogpgcheck
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
MySQL i386 5.0.95-5.el5_9 base 4.9 M
MySQL x86_64 5.0.95-5.el5_9 base 4.9 M
Installing for dependencies:
PERL-DBI x86_64 1.52-2.el5 Base K

Transaction Summary
================================================================================
complete!



Workaround:

1 "Yum install MySQL--nogpgcheck/*--nogpgcheck disable GPG signature checking*/

2 "[[email protected] yum.repos.d]# rpm--import/iso Mirror full path/rpm-gpg/rpm-gpg-key-redhat-release

Error:/etc/pki/rpm-gpg/rpm-gpg-key-redhat-release:import read failed (-1).


3 "[email protected] rpm-gpg]# pwd
/etc/pki/rpm-gpg

[email protected] rpm-gpg]# LL
Total 40
-rw-r--r--1 root root 1397 Feb Rpm-gpg-key
-rw-r--r--1 root root 1744 Feb Rpm-gpg-key-el4
-rw-r--r--1 root root 1519 Feb Rpm-gpg-key-fedora
-rw-r--r--1 root root 1076 Feb rpm-gpg-key-fedora-test
-rw-r--r--1 root root 1397 Feb rpm-gpg-key-oracle

RPM--import/etc/pki/rpm-gpg/rpm*

4 If you can use the following method to connect the extranet

RHEL7:

RPM--import http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7

RHEL6:

RPM--import http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6

RHEL5
RPM--import http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-5

RHEL4
RPM--import http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS4

Install MySQL encounter: Warning:rpmts_HdrFromFdno:Header V3 DSA Signature:nokey

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.