From 3f9648371e8f01a0c697d7c7b5cebe5bc89810bf Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Mon, 14 Feb 2022 14:23:38 +0100 Subject: [PATCH] Fix in progress --- scripts/system/updates.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/system/updates.py b/scripts/system/updates.py index 8306bcd..24e4537 100644 --- a/scripts/system/updates.py +++ b/scripts/system/updates.py @@ -23,6 +23,10 @@ elif linux_distro=='debian': print('Error, cannot upgrade server...') exit(1) - if call('sudo DEBIAN_FRONTEND="noninteractive" apt-get -y upgrade', shell=True) > 0: + # Update command + + update_command='sudo DEBIAN_FRONTEND="noninteractive" apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade' + + if call(update_command, shell=True) > 0: print('Error, cannot upgrade server...') exit(1)