Jump to content

MySQL GPG Keys (UPS-423)


NullRoute

Recommended Posts

  • Administration

Symptoms

The GPG keys for the official MySQL repository have expired preventing installation or update of MySQL packages. 

The errors are similar to:

The GPG keys listed for the "MySQL 8.0 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-client-8.0.28-1.el8.x86_64 GPG Keys are configured as: http://repo.mysql.com/RPM-GPG-KEY-mysql 
Public key for mysql-community-client-plugins-8.0.28-1.el8.x86_64.rpm is not installed. Failing package is: mysql-community-client-plugins-8.0.28-1.el8.x86_64 GPG Keys are configured as: http://repo.mysql.com/RPM-GPG-KEY-mysql 
Public key for mysql-community-common-8.0.28-1.el8.x86_64.rpm is not installed. Failing package is: mysql-community-common-8.0.28-1.el8.x86_64 GPG Keys are configured as: http://repo.mysql.com/RPM-GPG-KEY-mysql 
Public key for mysql-community-devel-8.0.28-1.el8.x86_64.rpm is not installed. Failing package is: mysql-community-devel-8.0.28-1.el8.x86_64 GPG Keys are configured as: http://repo.mysql.com/RPM-GPG-KEY-mysql 
Public key for mysql-community-icu-data-files-8.0.28-1.el8.x86_64.rpm is not installed. Failing package is: mysql-community-icu-data-files-8.0.28-1.el8.x86_64 GPG Keys are configured as: http://repo.mysql.com/RPM-GPG-KEY-mysql 
Public key for mysql-community-libs-8.0.28-1.el8.x86_64.rpm is not installed. Failing package is: mysql-community-libs-8.0.28-1.el8.x86_64 GPG Keys are configured as: http://repo.mysql.com/RPM-GPG-KEY-mysql 
Public key for mysql-community-server-8.0.28-1.el8.x86_64.rpm is not installed. Failing package is: mysql-community-server-8.0.28-1.el8.x86_64 GPG Keys are configured as: http://repo.mysql.com/RPM-GPG-KEY-mysql Error: GPG check FAILED

Description

MySQL GPG keys have expired. Additional details about case can also be found on the MySQL website: https://bugs.mysql.com/bug.php?id=106188

 

We've opened an internal case for our development team to investigate this further.

For reference, the case number is UPS-423. Follow this article to receive an email notification when a solution is published in the product. 

 

Workaround

We have released an Autofixer to correct this issue on existing cPanel systems. This will run automatically during the nightly maintenance or it can be manually run with the following:

/scripts/autorepair mysql_gpg_key

 

New installations can import the key before running the installer:

rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022

Ubuntu:

wget -q -O https://repo.mysql.com/RPM-GPG-KEY-mysql-2022 | apt-key add -

Alternatively, MariaDB could be installed:

 

Eu sou a existência que vocês chamam de "mundo". Ou talvez "universo", ou talvez "Deus", ou talvez "verdade", ou talvez "tudo", ou talvez "um".

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...

Important Information

Do you agree with our terms?

-