From eaab1334258f9c3813fba68b806f0ef4d14e1bc7 Mon Sep 17 00:00:00 2001 From: Adam Spragg Date: Thu, 17 Mar 2022 09:47:36 +0000 Subject: Disable `apt-listbugs` during upgrades Because if the network isn't available, it causes an abort. More details in the README.md --- adu-upgrade | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'adu-upgrade') diff --git a/adu-upgrade b/adu-upgrade index bdc1efc..e0a25dd 100755 --- a/adu-upgrade +++ b/adu-upgrade @@ -41,6 +41,10 @@ if [ "$upgrades" -eq 0 ]; then exit 0 fi +# Disable apt-listbugs, because if the network isn't available then it blocks +# upgrades. +export APT_LISTBUGS_FRONTEND=none + # Do the update export DEBIAN_FRONTEND=noninteractive apt-get -q -y --with-new-pkgs --no-download --ignore-missing upgrade -- cgit v1.2.1