diff options
author | Adam Spragg <adam@spra.gg> | 2022-03-17 09:47:36 +0000 |
---|---|---|
committer | Adam Spragg <adam@spra.gg> | 2022-03-17 09:47:36 +0000 |
commit | eaab1334258f9c3813fba68b806f0ef4d14e1bc7 (patch) | |
tree | 0d21f11d5556cc61c30df391f86401420c4249e5 /adu-upgrade | |
parent | f306054c40bd31cb856287126ee484e84dc1b30e (diff) |
Disable `apt-listbugs` during upgrades
Because if the network isn't available, it causes an abort. More details
in the README.md
Diffstat (limited to 'adu-upgrade')
-rwxr-xr-x | adu-upgrade | 4 |
1 files changed, 4 insertions, 0 deletions
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 |