Symptoms
When attempting to upgrade the server from cPanel 130 to 132, the upgrade fails with the following:
[2025-11-25 04:26:44 +0000] ***** FATAL: Test install failed: error: Failed dependencies:
[2025-11-25 04:26:44 +0000] libmariadb.so.3()(64bit) is needed by (installed) net-snmp-agent-libs-1:5.8-31.el8_10.x86_64
[2025-11-25 04:26:44 +0000] libmariadb.so.3()(64bit) is needed by (installed) net-snmp-1:5.8-31.el8_10.x86_64
[2025-11-25 04:26:44 +0000] libmariadb.so.3(libmysqlclient_18)(64bit) is needed by (installed) net-snmp-agent-libs-1:5.8-31.el8_10.x86_64
[2025-11-25 04:26:44 +0000] The Administrator will be notified to review this output when this script completesIn some cases, this leaves the cPanel Perl installation in a broken state as well.
Description
The OS-provided net-snmp packages requires a package that satisfies the libmysqlclient_18 library, and in previous versions this was incorrectly being satisfied from a cPanel-provided package. With cPanel 132, cPanel packages no longer state they provide this library, which results in updates failing.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-50422. Follow this article to receive an email notification when a solution is published in the product.
Workaround
If your cPanel Perl was broken from the update, the following must first be performed to resolve it:
How to reinstall the cPanel Perl RPMs if /scripts/check_cpanel_pkgs isn't working.
Once the cPanel Perl installation is confirmed working, the following packages will need to be manually removed:
rpm -ev --nodeps --justdb net-snmp net-snmp-agent-libsNext, updates can be re-run on the server.
/scripts/upcpFinally, if required, these packages can now be reinstalled. This must be done after the above update, and they will choose the necessary OS-provided connector instead of relying on one provided in a cPanel package.
dnf install net-snmp net-snmp-agent-libs
Comments
0 comments
Article is closed for comments.