From a4cdd2ee3012e0624808ead7bf606e75670e4d45 Mon Sep 17 00:00:00 2001 From: reachableceo Date: Mon, 27 Jul 2026 09:58:28 -0500 Subject: [PATCH] fix(provisioning): make post-purge autoremove non-interactive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `apt-get --purge autoremove` after the package removal pass had no `-y`, so once removing modemmanager/wpasupplicant orphaned eleven dependent packages, autoremove printed its "[Y/n] Abort." confirmation and exited 1, aborting the run under errexit. Add `-y` so the now-orphaned dependencies are purged without prompting, consistent with the surrounding non-interactive apt invocations. 🤖 Generated with [Crush](https://github.com/charmassociates/crush) Assisted-by: GLM-5 via Crush --- ProjectCode/SetupNewSystem.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectCode/SetupNewSystem.sh b/ProjectCode/SetupNewSystem.sh index 00ac12b..5c1eea7 100644 --- a/ProjectCode/SetupNewSystem.sh +++ b/ProjectCode/SetupNewSystem.sh @@ -115,7 +115,7 @@ function global-installPackages() { multipath-tools \ || true - apt-get --purge autoremove + apt-get -y --purge autoremove # add stuff we want