-
Notifications
You must be signed in to change notification settings - Fork 314
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
Unable to satisfy constraints on package due to solution constraint #1515
Comments
Looks like you are looking for this: chef/dep-selector-libgecode#43 |
I'm running into this precise issue... it's driving me nuts! |
The "fix" that worked for me was to be as explicit as possible with version dependencies and to mirror the failing dependency in the 2nd cookbook. E.g., in the second cookbook you would have: cookbook 'consul-template', '~> 0.9.4', git: 'git@github.com:adamkrone/chef-consul-template.git'
cookbook 'acmecorp_consul', '~> 0.1.15', :git => 'git@github.com:acmecorp/consul-cookbook.git' The dependency solver needs to be spoon fed. |
this is the transitive deps issue, it will likely never be fixed in berkshelf |
I have an issue with Berkshelf that I just cannot resolve.
I have a wrapper cookbook,
acmecorp_consul
with the following solution constraints inmetadata.rb
(I've renamed the prefix to the placeholderacmecorp
for the posting of posting this issue):whose versions are defined in the Berksfile:
In addition, I have a second cookbook whose sole dependency is
acmecorp_consul
:with the following definition in the Berksfile:
However, when I run
berks install
I get the following error:However, I see no dependency on consul-template 0.7.0 in any of the
Berksfile.lock
files. What could be the issue here?The text was updated successfully, but these errors were encountered: