Auto accepting EULA - Raspberry Pi Forums


hi all,

writing auto update/installation script project @ work. using below in update.sh:

code: select all

sudo apt-get clean && sudo apt-get update && sudo apt-get -o dpkg::options::="--force-confdef" -o dpkg::options::="--force-confnew" dist-upgrade -y && # install package maintainer's version sudo apt-get -f install && sudo apt-get autoremove -y 
above runs fine, when gets updating rpi-chromium-mods package, cli, full screen message asking accept adobe flash player eula. once press return script carries on.

there way can automatically accept eula ? i'm after little interaction possible.

thanks.

you can pre-seed debconf prompt answers debconf-set-selections.

alternative, might able use 'debian_frontend=noninteractive' before command:

code: select all

sudo debian_frontend=noninteractive apt_listchanges_frontend=none apt-get -fuy --force-yes -o dpkg::options::="--force-confnew" dist-upgrade 


raspberrypi



Comments