Unable to update mysql on CentOS 5: YumGPGCheckError: Problem opening package mysql-server-5.5.47

Created:

2016-11-16 12:44:35 UTC

Modified:

2017-08-08 13:43:58 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Unable to update mysql on CentOS 5: YumGPGCheckError: Problem opening package mysql-server-5.5.47

Applicable to:

  • Plesk for Linux

Symptoms

Plesk update failed on CentOS 5. The similar message can be found in /var/log/plesk/install/autoinstaller3.log :

YumGPGCheckError: Problem opening package mysql-server-5.5.47-32.el5.art.x86_64.rpm
....
error: rpmts_HdrFromFdno: Header V4 RSA/SHA1 signature: BAD, key ID 4520afa9
Fatal error during packages installation: Problem opening package mysql-server-5.5.47-32.el5.art.x86_64.rpm
YumGPGCheckError: Problem opening package mysql-server-5.5.47-32.el5.art.x86_64.rpm

Atomic repository is enabled:

 # yum repolist
atomic CentOS / Red Hat Enterprise Linux 5 - atomicrocketturtle.com

Cause

Atomic repository issues.

Resolution

As workaround, the following steps can be done:

  1. Download mysql , mysql-libs , mysql-server via yumdownloader (it is part of yum-utils package):

    # yumdownloader --nogpgcheck mysql.x86_64 mysql-libs.x86_64 mysql-server.x86_64
  2. Remove bad signatures from this packages:

    # rpm --delsign mysql-5.5.47-32.el5.art.x86_64.rpm

    # rpm --delsign mysql-libs-5.5.47-32.el5.art.x86_64.rpm

    # rpm --delsign mysql-server-5.5.47-32.el5.art.x86_64.rpm
  3. Install packages via rpm :

    # rpm -Uvh mysql-5.5.47-32.el5.art.x86_64.rpm mysql-libs-5.5.47-32.el5.art.x86_64.rpm mysql-server-5.5.47-32.el5.art.x86_64.rpm

    # rpm -qa | grep mysql
    mysql-libs-5.5.47-32.el5.art
    mysql-5.5.47-32.el5.art
    mysql-server-5.5.47-32.el5.art

Another way is temporary disable Atomic repository.

This issue is on Atomic side, additional information can be found here .

Have more questions? Submit a request
Please sign in to leave a comment.