Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2761

Problems Installing Package (compat-libstdc++-33)

    XMLWordPrintable

    Details

      Description

      We have issues with installing a particular package. We are able to install packages like, mercurial-hgk and libstdc+ however the package compat-libstdc+-33 doesn't install correctly.

      The policy we're using for our package installation looks something like this:

      bundle agent packages {
        vars:
          any::
            "add"
              slist => {
                "glibc-static",
                "libstdc++",
                "compat-libstdc++-33"
              },
              handle  => "packages_set_add",
              comment => "Add the packages to the list of those to install";
      
        packages:
          any::
            "$(add)"
              policy  => "present",
              package_module => yum,
              version => "latest",
              handle  => canonify("packages_add_$(this.promiser)"),
              comment => "Add or update the packages listed in the add list";
      }
      

      Our debug output shows as:

         debug: Successfully created package module wrapper for 'yum' package module.
         debug: Starting evaluating present action promise.
         debug: Getting package 'compat-libstdc++-33' data.
         debug: Opened fds 4 and 7 for command 'get-package-data'.
         debug: Data read from package module: 64 [Version=latest
      ErrorMessage: Package string with illegal format
      ]
         debug: cf_pwait - Waiting for process 5117
       verbose: Package module returned with non zero return code: 1
          info: Some error occurred while communicating with package module while collecting package data.
          info: Can not obtain package data for promise: compat-libstdc++-33
         debug: Evaluating present action promise status: f
         error: Error installing package 'compat-libstdc++-33'
       verbose: A: Promise NOT KEPT!
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10042 Nick Anderson
                Reporter:
                cg887a Cheyn Goodman
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel