Mysql - GPG KEY error
When you try to update with yum, you get the following error:
The GPG keys listed for the "MySQL 5.7 Community Server" repository are already installed but they are not correct for this package.
Apparently the GPG key for the MySQL 5.7 repo expired and you have to get a new one.
Basically The updated MySQL GPG will need to be installed. For existing systems, the MySQL repository file in /etc/yum.repos.d/ will need to have its 'gpgkey' line adjusted to:
gpgkey=https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
For new installations you can import the key before running the installer:
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
Good luck!
Comentarios