diff --git a/lisa/operating_system.py b/lisa/operating_system.py index bfe4e9f891..845e443599 100644 --- a/lisa/operating_system.py +++ b/lisa/operating_system.py @@ -1008,6 +1008,7 @@ def _uninstall_packages( ) if not signed: command += " --allow-unauthenticated" + self.wait_running_package_process() uninstall_result = self._node.execute( command, shell=True, sudo=True, timeout=timeout )