-
Notifications
You must be signed in to change notification settings - Fork 496
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
Vaprobash installs PHP 5.3 due to failed add-apt-repository #406
Comments
Hi! That's interesting - Did you change the Vagrantfile to use Precise (12.04) over Trusty (14.04)? To my knowledge, Ubuntu 12.10 + uses the package Do you have any error output during provisioning that you can copy and Thanks On Wed Oct 29 2014 at 2:52:34 PM James Riordon notifications@github.com
|
To be more clear, 12.04 and lower used packages This uses Ubuntu 14.04 as the base box, which to my testing has worked normally. |
No.
These are the two boxes used: ubuntu/trusty64 (vmware_fusion, 0)
Using PHPStorm and my terminal retention was too short. I've successfully install under VirtualBox, same Vagrant file. I'll try again under VMWare as soon as I get the plugin to reinstall.
|
Can you recreate the issue on your end, or do you want me to give it another try here? |
Made a new box yesterday (via Virtualbox) which seemed to work fine, but I don't have VMWare installed on this computer currently to test it out :/ |
Here is the pertinent output from running Vaprobash with VMware on an up-to-date box: Which box I'm using:
Installation of PHP 5.3 instead of 5.6:
and...
Composer and Laravel installation:
I've saved the complete output incase you want to see that. As mentioned previously, installing on Virtualbox using the exact same script works perfectly. This is VMWare specific. |
The base.sh file installs Are you using an older Vagrantfile? Can you double check the version on the top is set to the latest tag? |
You aren't commenting out the base.sh script, right? |
Lastly, the issue of composer not installing Laravel correctly is likely because Laravel 4.2 requires php 5.4 or greater, so this is probably a result of the same error. |
vagrant version: Vagrant 1.6.2 Vagrant file:
Not commenting out base.sh :)
Here is a diff of my Vagrantfile from the working VirtualBox install and the VMWare install:
|
huh, idk. If you're using vmware, potentially it's using ubuntu 12.04 is there error output from when it runs On Mon Nov 03 2014 at 10:55:54 AM James Riordon notifications@github.com
|
It would seem that it pulls 12.04 when using VMware Fusion (or VMware in general, I suppose).
This of course breaks things (add-apt-repository, for instance, which requires python-software-properties). If I instead provision it using --provider virtualbox, it tells me the following:
Which installs 14.04 just like it should.
|
Same issue here. Is there any workaround? |
Looks like it needs updating to a vmware box. Does anyone here who uses vmware know which box (trusty64) is appropriate? https://atlas.hashicorp.com/boxes/search?provider=vmware_desktop&q=trusty&sort=&utf8=%E2%9C%93 |
Manually installed php 5.6 as temporary fix. Not sure which box would be good. |
Laravel failed to install as it requires PHP 5.4 or greater. After a little research it would appear this line fails:
sudo add-apt-repository -y ppa:ondrej/php5-5.6
After installing
sudo apt-get python-software-properties
and running add-apt-repository, apt-key update and apt-get update, then removing and reinstalling php, I was able to update to PHP 5.6.
I checked out the Vaprobash script today with : curl -L http://bit.ly/vaprobash > Vagrantfile
My install is using VMWare and not VirtualBox.
The text was updated successfully, but these errors were encountered: