Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Package nagios-plugins-perl does not provide "perl(utils)" dependency. This prevents plugins from being installed that have a dependency on "perl(utils)", resulting in the yum error: "Error: Package: <some-plugin>\n Requires: perl(utils)\n" Version-Release number of selected component (if applicable): 2.2.1-9git5c7eb5b9.el7 Actual results: # rpm -q --provides nagios-plugins-perl nagios-plugins-perl = 2.2.1-9git5c7eb5b9.el7 nagios-plugins-perl(x86-64) = 2.2.1-9git5c7eb5b9.el7 Expected results: Old version does provide "perl(utils)": rpm -q --provides nagios-plugins-perl nagios-plugins-perl = 2.2.1-4git.el7 nagios-plugins-perl(x86-64) = 2.2.1-4git.el7 perl(utils) Additional info: Current missing "provides" breaks dependency chain for some plugins that require the perl(utils) module.
It seems the provides was faulty and was causing problems for other packages. The fix is that the sub-packages need to be rebuilt as per the instructions the perl team left in 1572361 Packages that require perl(utils), that is not provided by anything, should filter out the dependency from RPM metadata using: %global __requires_exclude %{?__requires_exclude:%__requires_exclude}|}^perl\\(utils\\) This is how auto-generated dependencies are filtered in Fedora and EPEL-7. Older EPELs use different syntax/methods for filtering. See <https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering> for more details. *** This bug has been marked as a duplicate of bug 1572361 ***