I am writing an auto update/installation script for a project at work. I am currently using the below in update.sh:
Code: Select all
sudo apt-get clean all &&
sudo apt-get update &&
sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" dist-upgrade -y && # to install the package maintainer's version
sudo apt-get -f install &&
sudo apt-get autoremove -y
Is there a way I can automatically accept the EULA ? I'm after as little interaction as possible.
Thanks.
