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)