On Thursday 22 February 2018 at 12:24:35, Alvaro Miranda Aguilera wrote: > because is in the wrong place. > > > not a vagrant issue, but easy to solve > > > if you run > > vagrant ssh > *sudo apt-get -y update* > > You will see the error > > fix: > *sudo apt-get update* > > > don't think -y is needed > > Thanks > Alvaro
Also, if you're not familiar with working on Linux machines at the command line, this is a good opportunity for you to find out about the built-in help systems: 1. apt-get --help 2. man apt-get Regards, Antony. > On Wed, Feb 21, 2018 at 3:04 PM, hd hsd wrote: > > I have this on my vagrantfile.I have configured it to install software I > > needed. > > > > config.vm.provision "shell", inline: <<-SHELL > > cd /vagrant > > chmod +x install.sh > > sudo ./install.sh > > > > > > SHELL > > > > *install.sh* > > > > *sudo apt-get -y update* > > > > why I can't use -y option. I always got this error > > Command line option 'y' [from -y] is not known. > > > > ==> default: ./install.sh: 12: ./install.sh: > > : not found: -- René Descartes walks in to a bar. The barman asks him "Do you want a drink?" Descartes says "I think not," and disappears. Please reply to the list; please *don't* CC me.