From 0c28d3b42fc198f73e94da2a69ade87bedec7c55 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:30 -0400 Subject: [PATCH] Ensure confold force during install --- oneshot/upgrade-pvc-cluster_deb12.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oneshot/upgrade-pvc-cluster_deb12.yml b/oneshot/upgrade-pvc-cluster_deb12.yml index feca371..9f396ac 100644 --- a/oneshot/upgrade-pvc-cluster_deb12.yml +++ b/oneshot/upgrade-pvc-cluster_deb12.yml @@ -226,12 +226,13 @@ #!/usr/bin/env bash exec 1>/tmp/upgrade-d10.log exec 2>&1 + set -o xtrace export DEBIAN_FRONTEND=noninteractive echo "Forcibly update libcrypt1 and libc6 to avoid conflicts" apt-get --download-only install --yes libcrypt1 dpkg --force-all --install /var/cache/apt/archives/{libcrypt1,libpam0g,libc6}*.deb echo "Fix broken packages" - apt --fix-broken install --yes + apt --fix-broken --option Dpkg::Options::="--force-confold" install --yes echo "Upgrade core apt packages (forcing confold)" apt-get --no-install-recommends --option Dpkg::Options::="--force-confold" install --yes apt dpkg dpkg-dev base-files zstd echo "Upgrade ca-certificates (forcing confold)"