next try to fix upgrade stalling
authorChris Koeritz <fred@gruntose.com>
Sat, 24 Feb 2018 02:49:08 +0000 (21:49 -0500)
committerChris Koeritz <fred@gruntose.com>
Sat, 24 Feb 2018 02:49:08 +0000 (21:49 -0500)
a new variable plus an extra force-confdef flag.

scripts/system/naive_system_updater.sh

index b15d0efef2cb9905869811af115eb70faed09acb..3bd16a284874065c3f3ed3d2c4a6f0b9e76bf9e8 100644 (file)
@@ -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'"