From f3cb3447adf459f6e4e88622babd71680860306c Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 23 Dec 2023 12:52:16 -0500 Subject: [PATCH] use apt-get with --error-on=any option for better error handling --- chroot-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chroot-script b/chroot-script index c356bc80..6628d254 100755 --- a/chroot-script +++ b/chroot-script @@ -42,7 +42,7 @@ if [ -x /usr/bin/aptitude ] ; then fi else APTINSTALL="apt-get -y --no-install-recommends install $DPKG_OPTIONS" - APTUPDATE="apt-get update $DPKG_OPTIONS" + APTUPDATE="apt-get --error-on=any update $DPKG_OPTIONS" APTUPGRADE="apt-get -y upgrade $DPKG_OPTIONS" fi