Installing mysql: warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, how to install dsa

Source: Internet
Author: User

Installing mysql: warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, how to install dsa
[Root @ localhost yum. repos. d] # rpm-e -- nodeps mysql
Error: package mysql is not installed
[Root @ localhost yum. repos. d] # rpm-qa | grep mysql

[Root @ localhost 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 600 k

Transaction Summary
========================================================== ==========================================================
Warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897 --------------> NO gpg key
Base/gpgkey | 1.7 kB: 00

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


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

[Root @ localhost 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 600 k

Transaction Summary
========================================================== ==========================================================
Complete!



Solution:

1 yum install mysql -- nogpgcheck/* -- nogpgcheck disable gpg signature checking */

2 "[root @ localhost yum. repos. d] # rpm -- import/ISO image full path/rpm-gpg/RPM-GPG-KEY-redhat-release

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


3 "[root @ localhost rpm-gpg] # pwd
/Etc/pki/rpm-gpg

[Root @ localhost rpm-gpg] # ll
Total 40
-Rw-r -- 1 root 1397 Feb 25 2012 RPM-GPG-KEY
-Rw-r -- 1 root 1744 Feb 25 2012 RPM-GPG-KEY-EL4
-Rw-r -- 1 root 1519 Feb 25 2012 RPM-GPG-KEY-fedora
-Rw-r -- 1 root 1076 Feb 25 2012 RPM-GPG-KEY-fedora-test
-Rw-r -- 1 root 1397 Feb 25 2012 RPM-GPG-KEY-oracle

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

4. Use the following method if you can connect to the Internet

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

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.