cpanel update failed with libonig.so.5 dependency error

ERROR

[2024-09-09 15:37:18 -0400] ***** FATAL: Test install failed: error: Failed dependencies:
[2024-09-09 15:37:18 -0400]     libonig.so.5()(64bit) is needed by (installed) alt-php-internal-mbstring-8.2.14-2.el8.x86_64
[2024-09-09 15:37:18 -0400]     libonig.so.5()(64bit) is needed by (installed) ea-php74-php-mbstring-7.4.33-9.9.13.cpanel.x86_64
[2024-09-09 15:37:18 -0400]     libonig.so.5()(64bit) is needed by (installed) ea-php80-php-mbstring-8.0.30-4.4.9.cpanel.x86_64
[2024-09-09 15:37:18 -0400]     libonig.so.5()(64bit) is needed by (installed) ea-php81-php-mbstring-8.1.29-1.2.2.cpanel.x86_64
[2024-09-09 15:37:18 -0400]     libonig.so.5()(64bit) is needed by (installed) ea-php82-php-mbstring-8.2.22-1.2.2.cpanel.x86_64
[2024-09-09 15:37:18 -0400]     libonig.so.5()(64bit) is needed by (installed) ea-php83-php-mbstring-8.3.10-1.2.2.cpanel.x86_64
[2024-09-09 15:37:18 -0400]     oniguruma is needed by (installed) alt-php-internal-mbstring-8.2.14-2.el8.x86_64
[2024-09-09 15:37:18 -0400]   The Administrator will be notified to review this output when this script completes
[2024-09-09 15:37:18 -0400] ***** FATAL: Error testing if the packages will install: Test install failed: error: Failed dependencies:

Solution

Install the oniguruma package and run the cpanel updates again. It will be successfull

dnf install oniguruma 
/scripts/upcp
Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *