X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Fnaive_system_updater.sh;h=7790fe884fe87a03602939d89a10c29aebf0306b;hb=2e93c29a45ae9d58694c0de962151e6829739380;hp=b15d0efef2cb9905869811af115eb70faed09acb;hpb=b7188fb75f87d5c455a48852ce742c8e3150ce7a;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'"