Unable to update cPanel to the latest release
Hello, I found some unauthorized entries under mysql remote access and I'm looking to upgrade WHM. When I try doing so, I get this error at 17%:
A couple FATAL errors show:
I have tried via the CLI, and I have tried forcing the update, nothing is working.
Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1478799788.log` failed, exited with code 1 (signal = 0)A couple FATAL errors show:
[20161110.095242] W Exit Code: 254
[20161110.095242] ***** FATAL: Test install failed: package cpanel-perl-514-5.14.4-4.cp1146.x86_64 is already installed[20161110.095242] The Administrator will be notified to review this output when this script completes
[20161110.095242] ***** FATAL: Error testing if the RPMs will install: Test install failed: package cpanel-perl-514-5.14.4-4.cp1146.x86_64 is already installedI have tried via the CLI, and I have tried forcing the update, nothing is working.
-
Hello, Please post the output from the following command so we can better understand your server enviorment: grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf
Thank you.0 -
Here /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf /usr/local/cpanel/version /etc/redhat-release:CentOS release 6.8 (Final) /usr/local/cpanel/version:11.46.1.3 /var/cpanel/envtype:virtuozzo CPANEL=release0 -
Hello, Try running the following command to ensure there are no duplicate RPMs: /scripts/autorepair fix_duplicate_cpanel_rpms
Thank you.0 -
Hi, I ran that, and it did find some duplicates. But that didn't solve the problem, now I have a different error: [20161110.144553] All files Staged [20161110.144553] Testing if the newly downloaded RPMS can be installed without conflict [20161110.144553] Testing RPM transaction [20161110.144553] error: Failed dependencies: [20161110.144553] sendmail = 8.14.4-9.el6_8.1 is needed by (installed) sendmail-cf-8.14.4-9.el6_8.1.noarch [20161110.144553] W Exit Code: 254 [20161110.144553] ***** FATAL: Test install failed: error: Failed dependencies: [20161110.144553] sendmail = 8.14.4-9.el6_8.1 is needed by (installed) sendmail-cf-8.14.4-9.el6_8.1.noarch [20161110.144553] The Administrator will be notified to review this output when this script completes [20161110.144553] ***** FATAL: Error testing if the RPMs will install: Test install failed: error: Failed dependencies: [20161110.144553] sendmail = 8.14.4-9.el6_8.1 is needed by (installed) sendmail-cf-8.14.4-9.el6_8.1.noarch [20161110.144553] see http://go.cpanel.net/rpmcheckfailed for more information [20161110.144553] The Administrator will be notified to review this output when this script completes [20161110.144553] E Detected events which require user notification during updatenow. Will send iContact the log0 -
Hi, The above error message showing that there is issue with sendmail RPM conflicts. Please check the below Documents for how to troubleshoot RPM conflicts issue. RPM Installation Failures - cPanel Knowledge Base - cPanel Documentation Browse above link and search "RPM conflicts" word so that you will get exact information. 0 -
sendmail = 8.14.4-9.el6_8.1 is needed by (installed) sendmail-cf-8.14.4-9.el6_8.1.noarch
Hello, This isn't a package that's installed with cPanel by default. Are you using it for any specific purpose? If not, you can remove the sendmail-cf package on your system with a command such as:rpm -e --nodeps sendmail-cf-8.14.4-9.el6_8.1.noarch
Otherwise, try temporarily adding the following entry to the "exclude=" line in your /etc/yum.conf file: sendmail-cf* This should address the YUM error, which you can then proceed to investigate further after the cPanel update completes. Thank you.0 -
Excellent, thank you! Problem solved. 0 -
I'm happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
8 comments