From: Chris Koeritz Date: Sat, 24 Feb 2018 02:49:08 +0000 (-0500) Subject: next try to fix upgrade stalling X-Git-Tag: 2.140.110^2~24 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=77aaf89edd254173d7750fb1465130fa1431e98f;p=feisty_meow.git next try to fix upgrade stalling a new variable plus an extra force-confdef flag. --- diff --git a/scripts/system/naive_system_updater.sh b/scripts/system/naive_system_updater.sh index b15d0efe..3bd16a28 100644 --- a/scripts/system/naive_system_updater.sh +++ b/scripts/system/naive_system_updater.sh @@ -3,8 +3,9 @@ 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. +export DEBIAN_FRONTEND=noninteractive +sudo 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'"