posty / posty_api

Utility to administrate mailserver based on postfix and dovecot
www.posty-soft.org
Other
85 stars 19 forks source link

vagrant box MYSQL issue #19

Closed aditya- closed 9 years ago

aditya- commented 9 years ago

Hi @chicobico ,

After updating in metadata.rb to depends "mysql", "5.6.1" also i am getting the following error .. please look once

root@system-desktop:/home/system/Documents/posty_chef# vagrant reload
==> default: Loading Berkshelf datafile...
==> default: Sharing cookbooks with VM
==> default: Rebooting the droplet...
==> default: Loading Berkshelf datafile...
==> default: Sharing cookbooks with VM
==> default: Updating Vagrant's Berkshelf...
The following berks command failed to execute:

    /usr/bin/berks vendor /root/.berkshelf/vagrant-berkshelf/shelves/berkshelf20150415-6737-m4qhgf-default --berksfile /home/system/Documents/posty_chef/Berksfile

The stdout and stderr are shown below:

    stdout: Resolving cookbook dependencies...
Fetching 'posty' from source at .
Fetching cookbook index from https://api.berkshelf.com...

    stderr: Unable to satisfy constraints on package mysql due to solution constraint (posty = 0.9.9). Solution constraints that may result in a constraint on mysql: [(mysql = 6.0.21)], [(posty = 0.9.9) -> (mysql = 5.6.1)]
Demand that cannot be met: (posty = 0.9.9)
Artifacts for which there are conflicting dependencies: mysql = 6.0.21 -> [(yum-mysql-community >= 0.0.0), (smf >= 0.0.0)]Unable to find a solution for demands: apt (2.7.0), clamav (1.1.0), cron (1.6.1), logrotate (1.9.1), mysql (6.0.21), posty (0.9.9), rbac (1.0.3), ruby_build (0.8.0), smf (2.2.6), yum (3.5.4), yum-epel (0.6.0)

It appears that you are not using the ChefDK. Please note that Vagrant Berkshelf
works best when used with the ChefDK, and other installation methods are not
officially supported.

Please download and install the latest version of the ChefDK from:

    https://downloads.chef.io/chef-dk

and follow the installation instructions. Do not forget to add the ChefDK to
your PATH.
aditya- commented 9 years ago

@chicobico it seems your vagrant box failing due to some dependency problems . please test from your end once

chicobico commented 9 years ago

i think you must run "berks install" after changing the version in metadata.rb Or you must destroy your vagrant box and install it from beginning.