Skip to content

Issue with nrpe::_source_install recipe  #142

@Navedkhan787

Description

@Navedkhan787

Recipe: nrpe::_source_install

  • build_essential[] action install
    • yum_package[autoconf, bison, flex, gcc, gcc-c++, gettext, kernel-devel, make, m4, ncurses-devel, patch] action install

      ================================================================================
      Error executing action install on resource 'yum_package[autoconf, bison, flex, gcc, gcc-c++, gettext, kernel-devel, make, m4, ncurses-devel, patch]'

      RuntimeError

      yum-helper.py had stderr/stdout output:

      Traceback (most recent call last):
      File "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/chef-16.16.13/lib/chef/provider/package/yum/yum_helper.py", line 209, in
      query(command)
      File "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/chef-16.16.13/lib/chef/provider/package/yum/yum_helper.py", line 153, in query
      pkgs = base.bestPackagesFromList(pkgs,single_name=True)
      File "/usr/lib/python2.7/site-packages/yum/init.py", line 4449, in bestPackagesFromList
      multi = self._bestPackageFromList(multiLib, req=req)
      File "/usr/lib/python2.7/site-packages/yum/init.py", line 4416, in _bestPackageFromList
      bestlist = self._compare_providers(pkglist, reqpo=None, req=req)
      File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 1569, in _compare_providers
      lpos[po.name] = self.pkgSack.returnNewestByName(po.name)[:1]
      File "/usr/lib/python2.7/site-packages/yum/packageSack.py", line 539, in returnNewestByName
      raise PackageSackError, 'No Package Matching %s' % ui_pats
      yum.Errors.PackageSackError: No Package Matching kernel-devel
      Loaded plugins: fastestmirror, langpacks, versionlock
      Loading mirror speeds from cached hostfile
      Excluding 2 updates due to versionlock (use "yum versionlock status" to show them)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions