From b94ec854618c5c71570317de50fcc52a9294b8cd Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Wed, 30 Mar 2022 20:48:11 +0300 Subject: [PATCH] Fix update should run with -y --- clearml_agent/commands/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clearml_agent/commands/worker.py b/clearml_agent/commands/worker.py index a052296..bd4d13c 100644 --- a/clearml_agent/commands/worker.py +++ b/clearml_agent/commands/worker.py @@ -3641,7 +3641,7 @@ class Worker(ServiceCommandSection): "{python_single_digit}.$i -m pip --version && " + "export LOCAL_PYTHON=$(which {python_single_digit}.$i) && break ; done", "[ ! -z $LOCAL_PYTHON ] || export CLEARML_APT_INSTALL=\"$CLEARML_APT_INSTALL {python_single_digit}-pip\"", # noqa - "[ -z \"$CLEARML_APT_INSTALL\" ] || (apt-get update ; apt-get install -y $CLEARML_APT_INSTALL)", + "[ -z \"$CLEARML_APT_INSTALL\" ] || (apt-get update -y ; apt-get install -y $CLEARML_APT_INSTALL)", ] if preprocess_bash_script: