the right command is: apt-get update 

but apt-get -y install PKG, apt-get -y upgrade


Le mercredi 21 février 2018 09:04:15 UTC-5, hd hsd a écrit :
> 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
>    sudo ./
>    SHELL
> **
> *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: ./ 12: ./
> : not found:

This mailing list is governed under the HashiCorp Community Guidelines - Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues:
IRC: #vagrant on Freenode
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To view this discussion on the web visit
For more options, visit

Reply via email to