Berks install dependency issue

#1

Can anyone help me with what is causing this:
root@56468aae83ac:/opt/chef-repos/hts_chef_server# berks install
Resolving cookbook dependencies...
Fetching 'hts_chef_azure' from git@github.com:hearsttech/hts_chef_azure.git (at master)
Fetching 'hts_chef_server' from source at .
Fetching 'hts_chef_useraccounts' from git@github.com:hearsttech/hts_chef_useraccounts.git (at master)
Fetching 'postfix-relay' from git@github.com:hearsttech/chef-postfix-relay.git (at 0.4.x)
Fetching 'ssh' from git@github.com:markolson/chef-ssh.git (at master)
Fetching cookbook index from https://supermarket.chef.io...
Unable to satisfy constraints on package hts_chef_server due to solution constraint (hts_chef_server = 1.1.2). Solution constraints that may result in a constraint on hts_chef_server: [(hts_chef_server = 1.1.2)]
Demand that cannot be met: (hts_chef_server = 1.1.2)
Artifacts for which there are conflicting dependencies: hts_chef_server = 1.1.2 -> [(hts_chef_azure ~> 1.1), (hts_chef_useraccounts ~> 1.1), (chef-server = 5.5.2), (cron = 6.2.1), (postfix-relay ~> 0.4.0)]Unable to find a solution for demands: chef-client (11.0.3), chef-server (5.5.2), cron (6.2.1), hts_chef_azure (1.0.1), hts_chef_server (1.1.2), hts_chef_useraccounts (1.0.1), logrotate (2.2.0), postfix (5.3.1), postfix-relay (0.4.3), ssh (0.10.24)

Graphviz:
image

Metadata:
ame 'hts_chef_server'
maintainer 'Hearst Technology Services'
maintainer_email 'chefadmin@hearst.com'
license 'Proprietary - All Rights Reserved'
description 'Installs/Configures hts_chef_server'
long_description IO.read(File.join(File.dirname(FILE), 'README.md'))
version '1.1.2'
chef_version '>= 12.14' if respond_to?(:chef_version)
privacy

issues_url 'https://github.com/hearsttech/hts_chef_server/issues'
source_url 'https://github.com/hearsttech/hts_chef_server'

supports 'ubuntu'

depends 'hts_chef_azure', '~> 1.1'
depends 'hts_chef_useraccounts', '~> 1.1'
depends 'chef-server', '= 5.5.2'
depends 'cron', '= 6.2.1'
depends 'postfix-relay', '~>0.4.0'

recipe 'hts_chef_server::default', 'Installs and configures Chef Server'
recipe 'hts_chef_server::backup', 'Performs a backup of data and logs and uploads the archives to Azure blob storage'

Should I clear Berksfile.lock??
I just do not see the problem - any help appreciated!

0 Likes

#2

Berks update corrected this problem

0 Likes