nothing provides perl(IPC::Run) Error
nothing provides perl(IPC::Run) Error
When installing certain packages on Rocky Linux 9 or AlmaLinux 9 (like postgresql15-devel, mock, or koji), you may run into this error:

Error:
Problem: cannot install the best candidate for the job
- nothing provides perl(IPC::Run) needed by ...
example:
Error:
Problem: cannot install the best candidate for the job
- nothing provides perl(IPC::Run) needed by postgresql15-devel-15.13-2PGDG.rhel9.x86_64 from pgdg15
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Root Cause
The package perl(IPC::Run) is a dependency for some tools, especially testing or development-related ones. However, it's not available in the default BaseOS or AppStream repositories.
Instead, it’s located in:
- EPEL (Extra Packages for Enterprise Linux)
- CRB (CodeReady Builder)
These repositories are disabled by default on minimal or clean installations.
Solution
Enable the EPEL repository:
dnf install epel-release
Enable the CRB repository:
dnf config-manager --set-enabled crb
Install the missing module:
dnf install perl-IPC-Run
Now you can proceed with the original package installation without issues.
← PostgreSQL Blog