X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Fnaive_system_updater.sh;h=7790fe884fe87a03602939d89a10c29aebf0306b;hb=114c4d0b2dcaebe6bab3a24ad07483c5bacc7ece;hp=b15d0efef2cb9905869811af115eb70faed09acb;hpb=170a8e062d9283e65716e7aa55930ade13a66f7a;p=feisty_meow.git diff --git a/scripts/system/naive_system_updater.sh b/scripts/system/naive_system_updater.sh index b15d0efe..7790fe88 100644 --- a/scripts/system/naive_system_updater.sh +++ b/scripts/system/naive_system_updater.sh @@ -3,8 +3,13 @@ source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" sudo apt-get update -y test_or_die "problem while doing 'apt-get update'" -# new magic to tell dpkg to go with existing config files. let's see if it works! -sudo apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold" + +# newest magic to tell dpkg to go with existing config files and force non-interactive version. +sudo bash -c "\ + export DEBIAN_FRONTEND=noninteractive; \ + apt-get dist-upgrade -y -o Dpkg::Options::=\"--force-confdef\" \ + -o Dpkg::Options::=\"--force-confold\"; \ +" test_or_die "problem while doing 'apt-get dist-upgrade'"