Last modified: 2014-07-16 16:51:38 UTC
I've encountered the following error when trying to provision after enabling the hhvm role: err: /Stage[main]/Hhvm/Package[hhvm-fastcgi]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install hhvm-fastcgi' returned 100: Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: hhvm-fastcgi : Depends: hhvm (>= 2.3.0) E: Unable to correct problems, you have held broken packages.
Have you tried updating your checkout of mediawiki/vagrant.git? The hhvm role was removed in I1fb84f51a4f94f8adbc1785eb122dccd347a46ef (2014-07-03). `vagrant git-update` or just `git pull` in your vagrant directory should get you a lot of features and bug fixes. After updating the repo, run `./setup.sh` followed by `vagrant provision`.
Ah yes, I keep forgetting to update the repo. I now run into this: vagrant provision [default] Running provisioner: puppet... Running Puppet with site.pp... Could not parse options: invalid option: --hiera_config=/tmp/vagrant-puppet-1/hiera.yaml
That sounds like you are still running an Ubuntu 12.04 base image. `vagrant destroy; vagrant up` should build you a new VM based on Ubuntu 14.04 with major updates such as Puppet 3.4.3, Apache 2.4.7 and HHVM 3.2.0. We should probably add some sort of sanity check in our Vagrantfile that peeks at the guest OS version and warns about this problem.
All good with the new vm created from scratch, thanks :)