Skip to content
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 #4

Closed
estahn opened this issue Jul 4, 2014 · 9 comments
Closed

Unable to satisfy constraints #4

estahn opened this issue Jul 4, 2014 · 9 comments

Comments

@estahn
Copy link

estahn commented Jul 4, 2014

$ berks install
Resolving cookbook dependencies...
Fetching cookbook index from http://api.berkshelf.com...
Unable to satisfy constraints on package backup due to solution constraint (bamboo = 1.2.3). Solution constraints that may result in a constraint on backup: [(bamboo = 1.2.3) -> (backup = 0.2.0)]
Demand that cannot be met: (bamboo = 1.2.3)
Artifacts for which there are conflicting dependencies: backup = 0.4.0 -> [(cron >= 0.0.0)]Unable to find a solution for demands: bamboo (= 1.2.3)

Cookbook

source 'http://api.berkshelf.com'

cookbook 'bamboo', '1.2.3'
@ramonskie
Copy link
Collaborator

i thought i fixed this 3 day's ago
did you pulled the latest code?

@estahn
Copy link
Author

estahn commented Jul 4, 2014

I just tried to install via berkshelf. Is it working via berkshelf for you?

@ramonskie
Copy link
Collaborator

when i run berks install (berkshelf 3) it works
you can also use vagrant.
or kitchen

@estahn
Copy link
Author

estahn commented Jul 4, 2014

$ berks -v
3.1.3
$ ruby -v
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin13.0.2]
$ berks install
Resolving cookbook dependencies...
Fetching 'php' from source at site-cookbooks/php
Fetching cookbook index from http://api.berkshelf.com...
Unable to satisfy constraints on package backup due to solution constraint (bamboo >= 0.0.0). Solution constraints that may result in a constraint on backup: [(bamboo = 1.2.3) -> (backup = 0.2.0)], [(bamboo = 1.1.0) -> (backup = 0.0.5)]
Demand that cannot be met: (bamboo >= 0.0.0)
Artifacts for which there are conflicting dependencies: backup = 0.4.0 -> [(cron >= 0.0.0)]Unable to find a solution for demands: apt (>= 0.0.0), bamboo (>= 0.0.0), build-essential (>= 0.0.0), jolicode-php (>= 0.0.0), nodejs (>= 0.0.0), php (0.1.0), rbenv-install-rubies (>= 0.0.0)

@ramonskie
Copy link
Collaborator

this just gets weirder. you are receiving a php dependency that is not even in there..
can you delete Berksfile.lock if there is any

@estahn
Copy link
Author

estahn commented Jul 4, 2014

My bad, i forgot to disable other cookbooks. This is the output with only bamboo:

$ berks install
Resolving cookbook dependencies...
Fetching cookbook index from http://api.berkshelf.com...
Unable to satisfy constraints on package backup due to solution constraint (bamboo = 1.2.3). Solution constraints that may result in a constraint on backup: [(bamboo = 1.2.3) -> (backup = 0.2.0)]
Demand that cannot be met: (bamboo = 1.2.3)
Artifacts for which there are conflicting dependencies: backup = 0.4.0 -> [(cron >= 0.0.0)]Unable to find a solution for demands: bamboo (= 1.2.3)

@ramonskie
Copy link
Collaborator

i can't seem to replicate your issue

@ramonskie
Copy link
Collaborator

just a idea to clean your berkshelf space

rm -rf ~/.berkshelf

@estahn
Copy link
Author

estahn commented Jul 13, 2014

I will give it a shot and let you know if it doesn't work. Cheers.

@estahn estahn closed this as completed Jul 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants