Issue #14306 has been updated by Kelsey Hightower.

Status changed from Unreviewed to Needs More Information
Assignee set to Nan Liu

Nan,

Can you give me the steps that gave you this error?

With the 2.7.14 tag checked out, I the following works for me:

    $ puppet module install puppetlabs-mongodb
    Preparing to install into /Users/kelseyhightower/.puppet/modules ...
    Downloading from http://forge.puppetlabs.com ...
    Installing -- do not interrupt ...
    /Users/kelseyhightower/.puppet/modules
    └─┬ puppetlabs-mongodb (v0.0.1)
      └─┬ puppetlabs-apt (v0.0.3)
        └── puppetlabs-stdlib (v2.3.1)

Delete puppetlabs-apt

    $ puppet module uninstall puppetlabs-apt --force
    Preparing to uninstall 'puppetlabs-apt' ...
    Removed 'puppetlabs-apt' (v0.0.3) from 
/Users/kelseyhightower/.puppet/modules

Use the local puppetlabs-apt package to install

    $ puppet module install puppetlabs-apt-0.0.3.tar.gz 
    Preparing to install into /Users/kelseyhightower/.puppet/modules ...
    Downloading from http://forge.puppetlabs.com ...
    Installing -- do not interrupt ...
    /Users/kelseyhightower/.puppet/modules
    └── puppetlabs-apt (v0.0.3)
----------------------------------------
Bug #14306: puppet module tool version comparison issues.
https://projects.puppetlabs.com/issues/14306#change-62051

Author: Nan Liu
Status: Needs More Information
Priority: Normal
Assignee: Nan Liu
Category: modules
Target version: 
Affected Puppet version: 2.7.14
Keywords: 
Branch: 


Manually installation from tar.gz of module prerelease to forge shows it's 
having odd problems with version comparison. 0.0.3 is not greater than 0.0.2.

<pre>
$ puppet module install puppetlabs-apt-0.0.3.tar.gz  --verbose
Preparing to install into /Users/nan/.puppet/modules ...
Downloading from http://forge.puppetlabs.com ...
Error: Could not install module 'puppetlabs-apt' (v0.0.3)
  No version of 'puppetlabs-apt' will satisfy dependencies
    You specified 'puppetlabs-apt' (v0.0.3)
    'puppetlabs-mongrodb' (v0.0.1) requires 'puppetlabs-apt' (>= 0.0.2)
    Use `puppet module install --force` to install this module anyway
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to