Conflict with Rogue RPM - Sanity Check
I have a server on which cPanel update has been failing. It gets to the point where it is verifying the RPM's and then tanks on MySQL:
Now, according to the error and the supplied link, the issue is due to a rogue MySQL RPM, and simply removing the RPM in question should fix the issue. The installed version of MySQL on this server is 5.1.68. Am I over-thinking this or can I just run
and be done with it without affecting the currently installed version or said data? Thanks in advance and sorry if this question is feeble.
[20130906.053446] All files Staged
[20130906.053446] Testing if the newly downloaded RPMS can be installed without conflict
[20130906.053446] Testing RPM transaction
[20130906.053451] error: Failed dependencies:
[20130906.053451] MySQL conflicts with mysql-5.0.45-7.el5.i386
[20130906.053451] W Exit Code: 254
[20130906.053451] ***** FATAL: Test install failed: error: Failed dependencies:
[20130906.053451] MySQL conflicts with mysql-5.0.45-7.el5.i386
[20130906.053451] The Administrator will be notified to review this output when this script completes
[20130906.053451] ***** FATAL: Error testing if the RPMs will install: Died at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 12529.
[20130906.053451] see http://go.cpanel.net/rpmcheckfailed for more information
[20130906.053451] The Administrator will be notified to review this output when this script completes
[20130906.053451] E Detected events which require user notification during updatenow. Will send iContact the log
Now, according to the error and the supplied link, the issue is due to a rogue MySQL RPM, and simply removing the RPM in question should fix the issue. The installed version of MySQL on this server is 5.1.68. Am I over-thinking this or can I just run
RPM -e mysql-5.0.45-7.el5.i386
and be done with it without affecting the currently installed version or said data? Thanks in advance and sorry if this question is feeble.
-
"he solution to this conflict is to remove the rogue RPM file and run the cPanel update process again." that is the solution :) 0 -
And the command listed above is the correct one to do so? 0 -
[quote="elflaco, post: 1458101">And the command listed above is the correct one to do so?
Run: /usr/local/cpanel/scripts/check_cpanel_rpms --fix0 -
Thank you for the reply, but that particular script doesn't seem to exist. I checked that directory and couldn't find anything similarly named. Any thoughts? 0 -
Hello :) The following script should exist on your system: /usr/local/cpanel/scripts/check_cpanel_rpms
It's documented at: Check cPanel RPMS Note that you can try removing the rogue MySQL RPM manually, forcing a cPanel update, and then checking again to see if the script exists. Thank you.0 -
check_cpanel_rpms will only exist on systems using cPanel & WHM version 11.36 and newer. My guess is you are still on version 11.34 and the MySQL conflict is preventing you from reaching anything newer. The command you gave rpm -e mysql-5.0.45-7.el5.i386 should suffice for removing the rogue RPM. Once that succeeds you should be able to reach a newer version of cPanel & WHM by executing /scripts/upcp. 0 -
[quote="cPanelKenneth, post: 1458752">check_cpanel_rpms will only exist on systems using cPanel & WHM version 11.36 and newer. My guess is you are still on version 11.34 and the MySQL conflict is preventing you from reaching anything newer. The command you gave rpm -e mysql-5.0.45-7.el5.i386 should suffice for removing the rogue RPM. Once that succeeds you should be able to reach a newer version of cPanel & WHM by executing /scripts/upcp.
That appears to be the case. Thank you for the confirmation of the command (I just wanted to make sure that it did not affect the currently installed MySQL), will remove the RPM later today and report back.0 -
And that was successful! Thank you cPanelKenneth and the rest for your replies. 0
Please sign in to leave a comment.
Comments
8 comments