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

New package promises can't install specific version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.0
    • Component/s: Promise type: packages
    • Labels:
      None
    • Platform:
      Other (details)

      Description

      Some package managers (e.g., pkgin) permit multiple versions of the same package within a single repository.

      When the get-package-data method is called, the only input is "File=$(promiser)".

      There are two problems here.

      1. In the case where a specific revision is preferred, it's impossible to retrieve the correct one package data from the repo
      2. The get-package-data expects back a single package, not allowing for multiple versions.

      Later, when repo-install is called, the version requested is the version returned by get-package-data, completely disregarding the version provided by the package promise.

        Attachments

        1. cf-agent_out.txt
          2 kB
        2. pkg.cf
          0.8 kB
        3. pkgsrc
          3 kB

          Activity

            People

            • Assignee:
              a10053 Marcin Pasinski
              Reporter:
              bahamat Brian Bennett
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel