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 completes
In some cases, this leaves the cPanel Perl installation in a broken state as well.
Description
The OS-provided net-snmp packages require 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 that they provide this library, which results in updates failing.
Workaround
A fix for this issue was released as part of cPanel v132.0.11. If your cPanel Perl was previously broken from the update, however, 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 to be working, the following packages will need to be manually removed:
rpm -ev --nodeps --justdb net-snmp net-snmp-agent-libs
Next, updates can be re-run on the server.
/scripts/upcp
Finally, 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