cpanel-php81-x is obsoleted by (installed) cpanel-php83-x
Unable to run /usr/local/cpanel/scripts/upcp without getting this error on a new server. How do i fix this? It is running cPanel 120.0.14 on "AlmaLinux v8.10.0 STANDARD kvm".
[2024-07-26 10:03:21 -0400] Testing if the newly downloaded packages can be installed without conflict
[2024-07-26 10:03:21 -0400] Testing RPM transaction
[2024-07-26 10:03:22 -0400] cpanel-php81-date is obsoleted by (installed) cpanel-php83-date-1.4.7-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-cache is obsoleted by (installed) cpanel-php83-cache-1.5.6-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-http is obsoleted by (installed) cpanel-php83-http-1.4.1-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-file is obsoleted by (installed) cpanel-php83-file-1.4.1-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-http-webdav-server is obsoleted by (installed) cpanel-php83-http-webdav-server-1.0.0.8-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81 is obsoleted by (installed) cpanel-php83-8.3.8-1.cp118~el8.x86_64
[2024-07-26 10:03:22 -0400] cpanel-php81-mdb2 is obsoleted by (installed) cpanel-php83-mdb2-2.4.1-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-log is obsoleted by (installed) cpanel-php83-log-1.14.4-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-net-url2 is obsoleted by (installed) cpanel-php83-net-url2-2.2.1-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-mail is obsoleted by (installed) cpanel-php83-mail-2.0.0-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] W Exit Code: 66
[2024-07-26 10:03:22 -0400] ***** FATAL: Test install failed: error: Failed dependencies:
[2024-07-26 10:03:22 -0400] cpanel-php81-date is obsoleted by (installed) cpanel-php83-date-1.4.7-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-cache is obsoleted by (installed) cpanel-php83-cache-1.5.6-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-http is obsoleted by (installed) cpanel-php83-http-1.4.1-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-file is obsoleted by (installed) cpanel-php83-file-1.4.1-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-http-webdav-server is obsoleted by (installed) cpanel-php83-http-webdav-server-1.0.0.8-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81 is obsoleted by (installed) cpanel-php83-8.3.8-1.cp118~el8.x86_64
[2024-07-26 10:03:22 -0400] cpanel-php81-mdb2 is obsoleted by (installed) cpanel-php83-mdb2-2.4.1-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-log is obsoleted by (installed) cpanel-php83-log-1.14.4-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-net-url2 is obsoleted by (installed) cpanel-php83-net-url2-2.2.1-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-mail is obsoleted by (installed) cpanel-php83-mail-2.0.0-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] The Administrator will be notified to review this output when this script completes
[2024-07-26 10:03:22 -0400] ***** FATAL: Error testing if the packages will install: Test install failed: error: Failed dependencies:
[2024-07-26 10:03:22 -0400] cpanel-php81-date is obsoleted by (installed) cpanel-php83-date-1.4.7-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-cache is obsoleted by (installed) cpanel-php83-cache-1.5.6-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-http is obsoleted by (installed) cpanel-php83-http-1.4.1-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-file is obsoleted by (installed) cpanel-php83-file-1.4.1-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-http-webdav-server is obsoleted by (installed) cpanel-php83-http-webdav-server-1.0.0.8-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81 is obsoleted by (installed) cpanel-php83-8.3.8-1.cp118~el8.x86_64
[2024-07-26 10:03:22 -0400] cpanel-php81-mdb2 is obsoleted by (installed) cpanel-php83-mdb2-2.4.1-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-log is obsoleted by (installed) cpanel-php83-log-1.14.4-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-net-url2 is obsoleted by (installed) cpanel-php83-net-url2-2.2.1-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] cpanel-php81-mail is obsoleted by (installed) cpanel-php83-mail-2.0.0-1.cp118~el8.noarch
[2024-07-26 10:03:22 -0400] see https://go.cpanel.net/rpmcheckfailed for more information
[2024-07-26 10:03:22 -0400] The Administrator will be notified to review this output when this script completes
-
Hey there! The "cpanel-php$$" packages are for the internal PHP on the server. It seems like an earlier update process may have been interrupted and a few of those are still lingering on the machine.
Can you try removing the 10 packages it is complaining about manually with the "rpm -e --nodeps cpanel-php81-date" command to see if that gets things working well?
0 -
cPRex I gave it a shot, no dice. This is what I see:
[root@hostname ~]# rpm -e --nodeps cpanel-php81-http
error: package cpanel-php81-http is not installed
[root@hostname ~]# rpm -e --nodeps cpanel-php81
error: package cpanel-php81 is not installed
[root@hostname ~]# rpm -e --nodeps cpanel-php81-log
error: package cpanel-php81-log is not installed
[root@hostname ~]# rpm -e --nodeps cpanel-php81-file
error: package cpanel-php81-file is not installed
[root@hostname ~]# rpm -e --nodeps cpanel-php81-net-url2
error: package cpanel-php81-net-url2 is not installed
[root@hostname ~]# rpm -e --nodeps cpanel-php81-mdb2
error: package cpanel-php81-mdb2 is not installed
[root@hostname ~]# rpm -e --nodeps cpanel-php81-mail
error: package cpanel-php81-mail is not installed
[root@hostname ~]# rpm -e --nodeps cpanel-php81-http-webdav-server
error: package cpanel-php81-http-webdav-server is not installed
[root@hostname ~]# rpm -e --nodeps cpanel-php81-date
error: package cpanel-php81-date is not installed
[root@hostname ~]# rpm -e --nodeps cpanel-php81-cache
error: package cpanel-php81-cache is not installedI ran upcp again, same results unfortunately.
0 -
Could you create a support ticket for this issue so this can be investigated directly on the system?
0 -
Ah, it appears I am unable to do that since I bought the server through LiquidWeb and am prohibited from opening a ticket with cPanel because I did not purchase my license directly from cPanel. I'll reach out to LiquidWeb and see what they can do.
0 -
They should definitely be able to help!
0 -
To follow up for anyone else that runs into this error:
"the system was trying to install PHP 8.1 packages even though they were obsolete and replaced by PHP 8.3. [...] the root cause was related to remnants of PHP 8.3 packages in the system. To resolve this, we took the following action:
We removed all cpanel-php83* packages from the system using the command:dnf remove cpanel-php83*
This step successfully removed a large number of PHP-related packages that were causing conflicts during the update process.
Then reinstalled all PHP versions with WHM EA4 and now everything working as expected."Everything is working properly again and upcp runs without issues.
0
Please sign in to leave a comment.
Comments
6 comments