From d8db7f6b4c993797d4a724d0adad68596c85e6f0 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Mon, 25 Mar 2019 10:21:13 +0100 Subject: [PATCH] another fix for maintenance --- wo/cli/plugins/maintenance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wo/cli/plugins/maintenance.py b/wo/cli/plugins/maintenance.py index e352340..666668d 100644 --- a/wo/cli/plugins/maintenance.py +++ b/wo/cli/plugins/maintenance.py @@ -30,7 +30,7 @@ class WOMaintenanceController(CementBaseController): try: Log.info(self, "updating apt-cache, please wait...") - WOShellExec.cmd_exec(self, "apt-get update - qq") + WOShellExec.cmd_exec(self, "apt-get update") Log.info(self, "updating packages, please wait...") WOShellExec.cmd_exec(self, "DEBIAN_FRONTEND=noninteractive " "apt-get -o " @@ -39,7 +39,7 @@ class WOMaintenanceController(CementBaseController): "-y dist-upgrade") Log.info(self, "cleaning-up packages, please wait...") WOShellExec.cmd_exec(self, "apt-get -y --purge autoremove") - WOShellExec.cmd_exec(self, "apt-get - y autoclean") + WOShellExec.cmd_exec(self, "apt-get -y autoclean") except OSError as e: Log.debug(self, str(e)) Log.error(self, "Package updates failed !")