YUM server update fails in both Terminal and WHM update link
WHM 102.8 (Yes, I know it's out of date)
THere are over 140 updates that are awaiting download and install on Yum.
Output from terminal is as follows:
Downloading packages:
warning: /var/cache/yum/x86_64/7/mysql-tools-community/packages/mysql-shell-8.0.36-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID a8d3785c: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
The GPG keys listed for the "MySQL Tools Community" 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-shell-8.0.36-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
It looks like the MySQL 8 shell doesn't have GPG keys. I am not aware MySQL 8 is installed on the server. Current installed version is MySQL 5.7.44 (I have also found this is End Of Life as well).
How do I resolve this issue re updates?
If the issue is caused by the MySQL install being EOL then how can I make Yum install the OTHER updates and avoid the MySQL 8 updates (and the associated GPG key issue)?
Cheers
-
Give this a try:
sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
Andrew N. - cPanel Plesk VMWare Certified Professional
Do you need immediate assistance? 20 minutes response time!* Open a ticket
EmergencySupport - Professional Server Management and One-time Services0 -
Thanks,
Running this and then "yum update" responds with:Downloading packages:
warning: /var/cache/yum/x86_64/7/mysql-tools-community/packages/mysql-shell-8.0.36-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID a8d3785c: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
The GPG keys listed for the "MySQL Tools Community" 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-shell-8.0.36-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
Sorry I'm not familiar with how to get the right keys for that package.0 -
hm how about 2023?
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2023
Andrew N. - cPanel Plesk VMWare Certified Professional
Do you need immediate assistance? 20 minutes response time!* Open a ticket
EmergencySupport - Professional Server Management and One-time Services1 -
Thank you Andrew that made it all work and all updates carried out. Thanks!
1 -
Wonderful, enjoy.
Andrew N. - cPanel Plesk VMWare Certified Professional
Do you need immediate assistance? 20 minutes response time!* Open a ticket
EmergencySupport - Professional Server Management and One-time Services0 -
It's also worth noting that cPanel doesn't install the mysql-shell package by default, so this would have been done manually on the system at some point in the past.
0 -
I am not aware who or when or how the Mysql-shell package was installed. I don't believe we did it but perhaps it was put on their buy the server providers (server was taken up with WHM etc. all already installed) .
0
Please sign in to leave a comment.
Comments
7 comments