srx3iq
Last Updated: February 25, 2016
·
125
· pykler
88dcd9a1b56c02e905ac3a352e43ba81

Debian - Truly Unattended Upgrades

This will make sure you bypass those pesky questions, with the safest option. For when you want to do an upgrade in a script (such as from a Vagrant :shell provision)

DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade
Say Thanks
Respond
Filed Under