From 563c6b79fa9eb0fe5d504d3ff3a9f1e6d8485df0 Mon Sep 17 00:00:00 2001 From: Smittix Date: Thu, 8 Jan 2026 11:48:10 +0000 Subject: [PATCH] Suppress needrestart prompts on Ubuntu Server Set DEBIAN_FRONTEND and NEEDRESTART_MODE to prevent the "scanning processes/candidates/microcode" messages during apt installs. Co-Authored-By: Claude Opus 4.5 --- setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.sh b/setup.sh index dbbfcc7..91a4c43 100644 --- a/setup.sh +++ b/setup.sh @@ -325,6 +325,11 @@ EOF install_debian_packages() { need_sudo + + # Suppress needrestart prompts (Ubuntu Server 22.04+) + export DEBIAN_FRONTEND=noninteractive + export NEEDRESTART_MODE=a + info "Updating APT package lists..." $SUDO apt-get update -y >/dev/null