Skip to main content

cpanel-php81-x is obsoleted by (installed) cpanel-php83-x

Comments

6 comments

  • cPRex Jurassic Moderator

    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
  • Mike Vandling

    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 installed

    I ran upcp again, same results unfortunately.

    0
  • cPRex Jurassic Moderator

    Could you create a support ticket for this issue so this can be investigated directly on the system?

    0
  • Mike Vandling

    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
  • cPRex Jurassic Moderator

    They should definitely be able to help!

    0
  • Mike Vandling

    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.