-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Cannot bounce Puppetfile.lock!' error when Forge modules contain duplicated dependencies #223
Comments
+1 I am also now seeing this error.
|
I had to do a |
I tried this command (with good Puppetfile and the other) but none solved my problem. |
I'm seeing the same problem with a simple Puppetfile reading:
The issue appears to be specific to some modules. I'm able to run the following (with the ntp module commented out) just fine:
I also reproduced the case with |
Yeah, I'm seeing this issue when I include the 3.1.0 version of puppetlabs/ntp in my Puppetfile but not when I include the 3.0.3 version. Weird huh. Here is a minimal Puppetfile that reproduces the problem:
And then run Here's the verbose output:
|
I get this problem as well with the NTP from puppetlabs/ntp; the differing lines are like this:
And:
WHEN I changed my upstream module to require puppetlabs/ntp (<3.1.0) it worked. |
Same problem here. Enforcing version of ntp module to 3.0.3 works - thanks @kevin1024 ! |
i managed to install pdxcat/collectd with
but it still don't work with librarian-puppet. I finally solve the problem indicating the version explicitely
last version 2.1.0 don't work, i think there is a dependency conflict but the error message is not useful. |
The forge is returning duplicated dependencies for ntp 3.1.0 and that makes librarian fail https://forge.puppetlabs.com/api/v1/releases.json?module=puppetlabs/ntp&version=3.1.0 same thing for collectd 2.1.0 https://forge.puppetlabs.com/api/v1/releases.json?module=pdxcat/collectd&version=2.1.0 I could work around that, but something that the Forge should fix, maybe @ryanycoleman can shed some light In the meantime you should lock the versions to one that works |
I've filed a bug with puppet labs at https://tickets.puppetlabs.com/browse/FORGE-183 to track the issue on their end. |
Fixed in 1.0.3, will ignore and warn about duplicated dependencies from forge |
Thanks for the ping @carlossg. FWIW, I did pass this along to the team and they'll followup on FORGE-183 soon. Glad to see you have a workaround in place. I think we understand what happened and can prevent it in the future. |
I've just run into the same issue (well, the same error message). |
Hello,
I use librarian-puppet 1.0.2 on Debian Wheezy 7.5. Puppet version is 3.6.1-1puppetlabs1 (from Puppetlabs apt repository).
My working Puppetfile is
librarian-puppet install do the job normally
If I add
I got this error
Running with --verbose give this
I don't understand the error message and how to solve it
The text was updated successfully, but these errors were encountered: