Error during cPanel upgrade - "Cannot upgrade to 11.122.0.18 until needed system packages are installed"
Hello. I am encountering an issue while trying to upgrade cPanel to version 11.122.0.18. The logs consistently show the following error:
Additionally, when attempting to install or upgrade ea-cpanel-tools, I get an error indicating that the required package /usr/local/cpanel/3rdparty/bin/perl is missing:
Error:
Problem: cannot install the best candidate for the job
- nothing provides /usr/local/cpanel/3rdparty/bin/perl needed by ea-cpanel-tools-1.0-96.99.1.cpanel.x86_64 from EA4
Steps I have already taken:
- Used the command
/usr/local/cpanel/scripts/upcp --force- the upgrade fails with the same error. - Confirmed that
/usr/local/cpanel/3rdparty/bin/perlis available and correctly points toperl -> /usr/local/cpanel/3rdparty/perl/536/bin/perl. - Reinstalled Perl, both system Perl (
yum install perl) and cPanel Perl, but it didn't help. - Checked all dependencies via
yum, but no problematic dependencies were found. - Ran
yum clean allandyum makecache, then attempted to installea-cpanel-toolsagain. - Tried installing
ea-cpanel-toolswith the--nobestand--skip-brokenflags, but the result remained the same. - Ran
/usr/local/cpanel/scripts/check_cpanel_pkgs --fix, which reported no issues. - None of these actions helped solve the problem. Perhaps a different version of Perl is needed, or there is some other restriction that I'm unaware of. Please help me understand what might be blocking the installation of the required packages.
-
It might help if you tell what is your OS version and cPanel version.
0 -
Of course, Alma Linux 8.10 with Cpanel 122.0.17
0 -
Hey there! Usually there are more details earlier in the log as to what specific package is causing the issue. Can you run this command and share the output here?
egrep -i "err|fail|warn" /var/cpanel/updatelogs/last0 -
Dear CPrex, thank u for help. This is output as u want
root@ext43 [~]# egrep -i "err|fail|warn" /var/cpanel/updatelogs/last
[2024-10-07 20:40:00 +0400] Switching to version 11.122.0.18 of updatenow to determine if we can reach that version without failure.
[2024-10-07 20:40:57 +0400] W Error:
[2024-10-07 20:40:59 +0400] E (XID yam9uc) “/usr/bin/yum” reported error code “1” when it ended:
[2024-10-07 20:41:54 +0400] cpanel-perl-536-warnings-unused-0.06-1.cp108~el8.x86_64.rpm already downloaded
[2024-10-07 20:41:56 +0400] cpanel-perl-536-error-0.17029-1.cp108~el8.noarch.rpm already downloaded
[2024-10-07 20:41:59 +0400] cpanel-perl-536-class-errorhandler-0.04-1.cp108~el8.noarch.rpm already downloaded
[2024-10-07 20:42:02 +0400] cpanel-perl-536-test-nowarnings-1.06-1.cp108~el8.noarch.rpm already downloaded
[2024-10-07 20:42:23 +0400] cpanel-perl-536-test-warn-0.36-1.cp108~el8.noarch.rpm already downloaded
[2024-10-07 20:42:30 +0400] E The install encountered a fatal error: Cannot upgrade to 11.122.0.18 until needed system packages are installed.
[2024-10-07 20:42:30 +0400] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.244004.50019439.1727819000.log` failed, exited with code 18 (signal = 0)0 -
That isn't a very helpful error message, is it? I was hoping it would say something else related to a specific package or mirror or Yum issue, but it seems that isn't the case.
Could you submit a ticket so this can be reviewed directly on the server?
0 -
I want, but can't submit direct ticket, when i try it with licene number, your support system provide me open ticket on my reseller page on Contabo
0 -
That's correct - you would need to contact you host directly since the license isn't through us, and then the host would escalate the issue to us if they aren't able to resolve the problem.
0 -
same problem here, any solution?
0 -
soulaymane-x - do you see any additional errors in the update log that might be helpful?
0 -
"you would need to contact you host directly since the license isn't through us"
I contacted them (contabo) right away, even opened a ticket, and wrote to them several times, but all they did was acknowledge my request, and there has been no action or help from them at all. How can I otherwise create a ticket in cPanel and get help from you? The server has been nearly dead for over 10 days.
0 -
Can you email our customer service team at cs@cpanel.net with an "Attention Rex" in the subject line so I see that?
0 -
Khachatryan Arman - I just wanted to confirm that we received your message and we're looking into that.
-1 -
What was the conclusion on this case ? We have two DNS Only server with the same problem.
E Blocker found: Cannot upgrade to 11.126.0.24 until needed system packages are installed.
0 -
Hi,
In this specific case, the customer's server had some missing cPanel perl packages that needed to be manually installed due to RPM database corruption. Usually these types of update errors need to be evaluated on a case-by-case basis as there is not always a common solution for the error. Have you already reviewed the cPanel update logs to see if it mentions which packages are missing? For reference:
0
Please sign in to leave a comment.
Comments
14 comments