From 510a4243ebdff807cf99253de0c94904517957a1 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 21 Feb 2021 17:29:48 +0500 Subject: [PATCH] update dovecot to focal on ubuntu 20 --- plogical/upgrade.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 5bac2eb0f..a3cd78ecc 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -2169,8 +2169,14 @@ echo $oConfig->Save() ? 'Done' : 'Error'; command = "apt update -y" Upgrade.executioner(command, command) + command = 'dpkg --configure -a' + subprocess.call(command, shell=True) + + command = 'apt --fix-broken install -y' + subprocess.call(command, shell=True) + command = 'apt -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade -y' - Upgrade.executioner(command, command) + subprocess.call(command, shell=True)