RPM for CentOS 8 won't install due to missing dependency
Posted: Fri Oct 23, 2020 1:30 pm
RPM install fails to find perl-List-MoreUtils on CentOS 8
I have the following pre-requisites installed on a fully patched minimal CentOS 8 install:
yum install epel-release -y
yum config-manager --enable PowerTools
However, from the pre-requisites repo page subscription-manager does not exist in CentOS (it is a Red Hat only package) so this command fails:
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
I found documentation that shows that perl-List-MoreUtils should be available in the PowerTools repo in CentOS 8 but a "yum whatprovides" perl-List-MoreUtils fails to find it with PowerTools enabled.
I am trying to do this in automation so I want to make sure that dnf can maintain the install once it is running in production. If I manually install perl-List-MoreUtils from the individual rpm as a local file, it will not be updated down the road so I would much prefer to pull from a repo.
I have the following pre-requisites installed on a fully patched minimal CentOS 8 install:
yum install epel-release -y
yum config-manager --enable PowerTools
However, from the pre-requisites repo page subscription-manager does not exist in CentOS (it is a Red Hat only package) so this command fails:
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
I found documentation that shows that perl-List-MoreUtils should be available in the PowerTools repo in CentOS 8 but a "yum whatprovides" perl-List-MoreUtils fails to find it with PowerTools enabled.
I am trying to do this in automation so I want to make sure that dnf can maintain the install once it is running in production. If I manually install perl-List-MoreUtils from the individual rpm as a local file, it will not be updated down the road so I would much prefer to pull from a repo.