Updated: 28 September 2026 · Applies to: AlmaLinux 9 / Rocky Linux 9 and cPanel & WHM 138
This article was written for CloudLinux 6, which is end of life. The same kind of error still happens on current systems: an update stops with Requires: perl(Some::Module) because the package that provides the Perl module comes from a repository that is not enabled.
Find and fix the missing dependency
- Find which package provides the module:
dnf provides 'perl(WWW::Curl::Easy)'. - If nothing is found, enable the extra repositories:
dnf config-manager --set-enabled crbanddnf install epel-release(AlmaLinux/Rocky 9). - Install the package, then run the update again:
dnf upgrade.
cPanel servers
cPanel's own packages (EasyApache 4, cPanel Perl) should never be fixed with random repositories. Let cPanel check and repair them:
/usr/local/cpanel/scripts/check_cpanel_pkgs --fix /scripts/upcp
If the error mentions a CloudLinux package, check that the CloudLinux repositories are reachable (dnf repolist) and contact our support team.
Note: Do not use --nobest, --skip-broken or rpm --nodeps to force an update on a production server: it leaves packages in an inconsistent state.