Public key for mysql....rpm are not installed

Source: Internet
Author: User
Tags gpg openssl gfortran

This issue is thrown when installing MySQL with Yum under CentOS.


[[email protected] opt]# yum install-y mysql-server MySQL mysql-develoaded plugins:securitybase | 1.1 KB 00:00 Epel | 3.7 KB 00:00 epel/primary_db | 3.3 MB 00:00 Extras | 2.1 KB 00:00 Updates | 1.9 KB 00:00 Setting up Install Processno package Mysql-deve available.  Resolving dependencies--> Running Transaction Check---> Package mysql.i386 0:5.0.95-5.el5_9 set to be updated--> Processing dependency:libc.so.6 (glibc_2.4) for package:mysql--> processing dependency:libc.so.6 (GLIBC_2.1.3) for P ackage:mysql--> processing dependency:libnsl.so.1 for PACKAGE:MYSQl--> processing dependency:libm.so.6 for package:mysql--> processing Dependency:perl (DBI) for Package:mysql--&gt ; Processing dependency:libc.so.6 (glibc_2.2) for package:mysql--> processing dependency:libz.so.1 for package:mysql- -Processing dependency:libc.so.6 for package:mysql--> processing dependency:libpthread.so.0 (GLIBC_2.0) for PAC kage:mysql--> processing dependency:libpthread.so.0 for package:mysql--> processing dependency:libc.so.6 (GLIBC _2.3) for package:mysql--> processing dependency:libcrypt.so.1 for package:mysql--> Processing Dependency:libc.s O.6 (glibc_2.3.4) for package:mysql--> processing dependency:libncursesw.so.5 for package:mysql--> Processing Dep Endency:libc.so.6 (glibc_2.1) for package:mysql--> processing dependency:libssl.so.6 for package:mysql--> Proces Sing Dependency:libc.so.6 (glibc_2.1.2) for package:mysql--> processing dependency:libcrypto.so.6 for Package:mysql --Processing Dependency: Libgcc_s.so.1 (glibc_2.0) for package:mysql--> processing dependency:libstdc++.so.6 (CXXABI_1.3) for the package: mysql--> processing dependency:libstdc++.so.6 for package:mysql--> processing dependency:libc.so.6 (GLIBC_2.0) For package:mysql--> processing dependency:libpthread.so.0 (glibc_2.2) for package:mysql--> Processing Dependency:libgcc_s.so.1 for package:mysql--> processing dependency:libpthread.so.0 (GLIBC_2.1) for package: mysql--> processing dependency:libpthread.so.0 (glibc_2.3.2) for package:mysql---> Package mysql.x86_64 0:5.0.95-5.el5_9 set to is updated---> Package mysql-server.x86_64 0:5.0.95-5.el5_9 set to be updated--> processing  Dependency:perl-dbd-mysql for package:mysql-server--> Running transaction check--> Processing DEPENDENCY:GLIBC = 2.5-118.el5_10.2 for package:glibc-devel--> processing dependency:glibc = 2.5-118.el5_10.2 for package:nscd--> P Rocessing dependency:glibc = 2.5-118.el5_10.2 for package:glibc-Headers---> Package glibc.i686 0:2.5-123.el5_11.1 set to be updated--> processing Dependency:glibc-common = 2.5-123 . el5_11.1 for PACKAGE:GLIBC---> Package glibc.x86_64 0:2.5-123.el5_11.1 set to being updated---> package libgcc.i386 0  : 4.1.2-55.el5 set to is updated---> Package libgcc.x86_64 0:4.1.2-55.el5 set to be updated--> processing Dependency: libstdc++ = 4.1.2-54.el5 for package:libstdc++-devel--> processing dependency:libstdc++ = 4.1.2-54.el5 for package:  Gcc-c++---> Package libstdc++.i386 0:4.1.2-55.el5 set to being updated---> Package libstdc++.x86_64 0:4.1.2-55.el5 Set To is updated---> Package ncurses.i386 0:5.5-24.20060715 set to be updated---> Package openssl.i686 0:0.9.8e-32.el5 _11 set to being updated--> processing dependency:libgssapi_krb5.so.2 for package:openssl--> Processing dependency:l Ibkrb5.so.3 (krb5_3_mit) for package:openssl--> processing dependency:libk5crypto.so.3 for package:openssl--> Processing dependency:libk5cRypto.so.3 (k5crypto_3_mit) for package:openssl--> processing dependency:libcom_err.so.2 for package:openssl--> Processing dependency:libkrb5.so.3 for PACKAGE:OPENSSL---> Package openssl.x86_64 0:0.9.8e-32.el5_11 Set-to-be update  D---> Package perl-dbd-mysql.x86_64 0:3.0007-2.el5 set to is updated---> Package perl-dbi.x86_64 0:1.52-2.el5 set to be updated---> Package zlib.i386 0:1.2.3-7.el5 set to be updated--> Running transaction check--> processing Depe Ndency:e2fsprogs-libs = 1.39-36.el5_9 for package:e2fsprogs---> Package e2fsprogs-libs.i386 0:1.39-37.el5 set to be U pdated--> processing dependency:libdevmapper.so.1.02 for package:e2fsprogs-libs---> Package e2fsprogs-libs.x86 _64 0:1.39-37.el5 set to is updated---> Package gcc-c++.x86_64 0:4.1.2-55.el5 set to be updated--> processing Depend ENCY:GCC = 4.1.2-55.el5 for package:gcc-c++---> Package glibc-common.x86_64 0:2.5-123.el5_11.1 set to be updated---&G T Package glibc-devel.x86_640:2.5-123.el5_11.1 set to is updated---> Package glibc-headers.x86_64 0:2.5-123.el5_11.1 set to be updated--> proces Sing dependency:krb5-libs = 1.6.1-71.el5_10.1 for package:krb5-workstation---> Package krb5-libs.i386 0:1.6.1-80.  El5_11 set to IS updated--> processing dependency:libkeyutils.so.1 for package:krb5-libs--> Processing Dependency: Libselinux.so.1 for package:krb5-libs--> processing dependency:libkeyutils.so.1 (KEYUTILS_0.3) for package: Krb5-libs---> Package krb5-libs.x86_64 0:1.6.1-80.el5_11 set to being updated---> Package libstdc++-devel.x86_64  0:4.1.2-55.el5 set to is updated---> Package nscd.x86_64 0:2.5-123.el5_11.1 set to be updated--> Running transaction check--> processing dependency:device-mapper = 1.02.67-2.el5 for package:device-mapper-event---> Package device- Mapper.i386 0:1.02.67-2.el5_11.1 set to is updated--> processing dependency:libsepol.so.1 for package:device-mapper- -Package device-mapper.x86_64 0:1.02.67-2.el5_11.1 set to is updated---> Package e2fsprogs.x86_64 0:1.39-37.el5 set to be updated--> processing Dependency: gcc = 4.1.2-54.el5 for Package:gcc-gfortran---> Package gcc.x86_64 0:4.1.2-55.el5 set to be updated--> processing Dependency:cpp = 4.1.2-55.el5 for PACKAGE:GCC---> Package keyutils-libs.i386 0:1.2-1.el5 set to be updated---> Pac  Kage krb5-workstation.x86_64 0:1.6.1-80.el5_11 set to is updated---> Package libselinux.i386 0:1.33.4-5.7.el5 set to be updated--> Running Transaction Check---> Package cpp.x86_64 0:4.1.2-55.el5 set to being updated---> Package device- Mapper-event.x86_64 0:1.02.67-2.el5_11.1 set to is updated---> Package gcc-gfortran.x86_64 0:4.1.2-55.el5 set to be upd ated--> processing Dependency:libgfortran = 4.1.2-55.el5 for Package:gcc-gfortran---> Package libsepol.i386 0:1.1 5.2-3.el5 set to IS updated--> Running transaction Check---> Package libgfortran.x86_64 0:4.1.2-55.el5 set to be upd    atedepel/filelists_db                                                              | 4.5 MB 00:00-Finished Dependency resolutiondependencies resolved===========================================                        =============================================================== 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 mysql-server x86_64 5.0.95-5.el5_9 Base 9.9 minstalling For Dependencies:device-mapper i386 1.02.67-2.el5_11.1 updates 804                    K E2fsprogs-libs i386 1.39-37.el5Base k glibc i686 2.5-123.el5_11.1 updates                       5.4 M Keyutils-libs i386 1.2-1.el5 base K Krb5-libs                         i386 1.6.1-80.el5_11 updates 670 k LIBGCC              i386 4.1.2-55.el5 base, K Libselinux i386 1.33.4-5.7.el5 base Libsepol K i386 1.15.2-3.el                   5 Base K libstdc++ i386 4.1.2-55.el5               Base 364 k ncurses I386 5.5-24.20060715 base 1.1 m OpenSSL i686 0.9.8e-32.el5_11 updates 1.5 M perl-d                Bd-mysql x86_64 3.0007-2.el5 Base 148 k perl-dbi x86_64                    1.52-2.el5 Base K zlib i386 1.2.3-7.el5 Base Wuyi kupdating for Dependencies:cpp x86_64 4.1.2-             55.el5 Base 2.9 M device-mapper x86_64 1.02.67-2.el5_11.1             Updates 832 k device-mapper-event x86_64 1.02.67-2.el5_11.1 updates K e2fsprogs x86_64 1.39-37.el5 base 845 k E                            2fsprogs-libs x86_64 1.39-37.el5 base-k gcc x86_64 4.1.2-55.el5 Base 5.3 M gcc-c++ x86_ 4.1.2-55.eL5 Base 3.8 M Gcc-gfortran x86_64 4.1.2-55.el5            Base 3.5 M glibc x86_64 2.5-123.el5_11.1 Updates 4.8 m Glibc-common x86_64 2.5-123.el5_11.1 updates m glibc                  -devel x86_64 2.5-123.el5_11.1 Updates 2.4 M glibc-headers            x86_64 2.5-123.el5_11.1 updates 602 k krb5-libs x86_64 1.6.1-80.el5_11 updates 683 k krb5-workstation x86_64 1.6.1-8                   0.el5_11 updates 919 k LIBGCC x86_64 4.1.2-55.el5               Base k Libgfortran x86_64 4.1.2-55.el5 Base 245 k libstdc++                      x86_64 4.1.2-55.el5 base 354 k Libstdc++-devel            x86_64 4.1.2-55.el5 Base 2.8 M NSCD x86_64 2.5-123.el5_11.1 updates 178 k OpenSSL x86_64 0.9.8e-32.e L5_11 Updates 1.5 mtransaction summary=========================================================== ===============================================install package (s) Upgrade (s) Total size:79 Mdownloa                                                                        Ding Packages:warning:rpmts_HdrFromFdno:Header V3 DSA signature:nokey, key ID E8562897base/gpgkey | 1.7 KB 00:00 Public key for mysql-5.0.95-5.el5_9.x86_64.rpm are not installed



Solution:


Now import the RPM signature information, log in with root, execute the following command ( my Linux version is CentOS 5.1)


[Email protected] opt]# rpm--import/etc/pki/rpm-gpg/rpm-gpg-key-centos-5


if it is a different version, such as Redhat, execute the following command



RPM--import/etc/pki/rpm-gpg/rpm-gpg-key-redhat-release


OK, Problem solving

Reference article: http://www.cnblogs.com/JemBai/archive/2012/11/07/2759140.html

Public key for mysql....rpm are not installed

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.