How To Solve MySQL GPG Key Errors During yum update

Published Date Author: , Posted February 19th, 2022 at 9:58:30am

I went to perform a yum update and got the following error:

SOLUTION: Import the needed new key and manually edit the config files before retrying the yum update.

I had to edit two files: mysql-community-source.repo and mysql-community.repo

For 5.7 – add -2022 to the key name: i.e.:

ORIGINAL:

MODIFY ONE LINE IN EACH FILE FOR 5.7:

Then re-run yum update.

Comments reader  2 Reader Comments

Reed Harris - Gravatar

none Reed Harris said on March 22, 2022, 7:35 am:

Thank you! Had same issue, followed your steps and it worked perfectly.

Robert Lin - Gravatar

lacity.org Robert Lin said on June 15, 2022, 4:31 pm:

Thanks, got same issue, your solution works great.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.