yajra / homestead-oracle

Laravel local development environment with Oracle XE 11g
31 stars 12 forks source link

fix-ppa-php.sh #8

Closed FradaL closed 8 years ago

FradaL commented 8 years ago

the commit 22d42b9c080745f5366798d6363a9510e9adde64 indicates that already repaired, but still showing an error loading my virtual machine.

http://prntscr.com/bbhsj3

but if the file is located in the scripts folder

dantelibralato commented 8 years ago

In scripts/homestead.rb, change de line 60

Actual

# Fix Error: Failed to fetch http://ppa.launchpad.net/ondrej/php-7.0/ubuntu/dists/trusty/main/binary-i386/Packages
config.vm.provision :shell, :inline => scriptDir + "/fix-ppa-php.sh" 

Correction

# Fix Error: Failed to fetch http://ppa.launchpad.net/ondrej/php-7.0/ubuntu/dists/trusty/main/binary-i386/Packages
#config.vm.provision :shell, :inline => scriptDir + "/fix-ppa-php.sh"
config.vm.provision :shell, :inline => "sudo rm /etc/apt/sources.list.d/ondrej-php-*"
config.vm.provision :shell, :inline => "sudo add-apt-repository ppa:ondrej/php"

This correction is temporary, because I have to test if it works is this (I'm at work now): s.path = scriptDir + "/fix-ppa-php.sh" @yajra: confirms this, please

FradaL commented 8 years ago

Excellent, it worked thank you very much @dantelibralato

yajra commented 8 years ago

@dantelibralato thanks for the suggestions. It's weird why the file is not seen although it was there and is existing. @FradaL thanks for confirming the fix.