diff --git a/plugins/tedge_apt_plugin/src/lib.rs b/plugins/tedge_apt_plugin/src/lib.rs index 8c3cece8ac2..40928176688 100644 --- a/plugins/tedge_apt_plugin/src/lib.rs +++ b/plugins/tedge_apt_plugin/src/lib.rs @@ -290,6 +290,7 @@ fn run_cmd(cmd: &str, args: &str) -> Result { let args: Vec<&str> = args.split_whitespace().collect(); let status = Command::new(cmd) .args(args) + .env("DEBIAN_FRONTEND", "noninteractive") .stdin(Stdio::null()) .status() .map_err(|err| InternalError::exec_error(cmd, err))?;