Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6813

module face: `install` should report back on which dependencies were not satisfiable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PMT
    • Labels:
    • Environment:

      Tested with puppet 4.7.0

      Description

      $ puppet module install --modulepath=/tmp/foo simp-simplib
      Notice: Preparing to install into /tmp/foo ...
      Notice: Created target directory /tmp/foo
      Notice: Downloading from https://forgeapi.puppetlabs.com ...
      Error: Could not install module 'simp-simplib' (???)
        No version of 'simp-simplib' can satisfy all dependencies
          Use `puppet module install --ignore-dependencies` to install only this module
      

      After much spelunking it turns out that one of the version-constrained dependencies was not yet released onto the forge.

      Expected outcome

      $ puppet module install simp-simplib
      Notice: Downloading from https://forgeapi.puppetlabs.com ...
      Error: Could not install module 'simp-simplib' (???)
        Installing would require herculesteam/augeasproviders_sysctl (>= 2.1.0 < 3.0.0) but it is not available.
          Use `puppet module install --ignore-dependencies` to install only this module
      

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  peiriannydd Trevor Vaughan
                • Votes:
                  3 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Zendesk Support