From ef94574d5625ffaf640ff0833674136fd811f18c Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Thu, 6 Aug 2026 10:16:50 -0500 Subject: [PATCH] In build host setup scripts remove unattended-upgrades to increase reliability of apt operations in scripts Ticket: ENT-14403 Changelog: none --- ci/setup-cfengine-build-host.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/setup-cfengine-build-host.sh b/ci/setup-cfengine-build-host.sh index c116e9179..2b2c84f10 100755 --- a/ci/setup-cfengine-build-host.sh +++ b/ci/setup-cfengine-build-host.sh @@ -119,6 +119,10 @@ if [ -f /etc/os-release ]; then # and now perform the upgrade a second time after hopefully autoremove cleans up /boot partition of kernel files that cause failure DEBIAN_FRONTEND=noninteractive apt upgrade --yes DEBIAN_FRONTEND=noninteractive apt autoremove --yes + + echo "remove unattended-upgrades to increase reliability of apt operations in scripts" + DEBIAN_FRONTEND=noninteractive apt purge --yes unattended-upgrades + alias software='DEBIAN_FRONTEND=noninteractive apt install --yes' alias erase-packages='DEBIAN_FRONTEND=noninteractive apt purge --yes' elif grep -q suse /etc/os-release; then