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

  1. Find which package provides the module: dnf provides 'perl(WWW::Curl::Easy)'.
  2. If nothing is found, enable the extra repositories: dnf config-manager --set-enabled crb and dnf install epel-release (AlmaLinux/Rocky 9).
  3. 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.

Related services

KVM VPS hosting

NVMe SSD and full root access, with Free Basic Managed Support.

Unmanaged dedicated servers

full root access and free IPMI KVM, with Free Basic Managed Support.

Managed dedicated servers

our engineers look after the server for you, from $135 a month.

Was this answer helpful?

Still stuck? Open a ticket