make_mirror.sh: run apt-get update with --error-on=any

This commit is contained in:
Johannes Schauer Marin Rodrigues 2023-06-11 15:42:31 +02:00
parent ebf7a67e37
commit 910427b598
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -225,7 +225,7 @@ END
cat "$rootdir/$f" >&2
done
APT_CONFIG="$rootdir/etc/apt/apt.conf" apt-get update
APT_CONFIG="$rootdir/etc/apt/apt.conf" apt-get update --error-on=any
pkgs=$(APT_CONFIG="$rootdir/etc/apt/apt.conf" apt-get indextargets \
--format '$(FILENAME)' 'Created-By: Packages' "Architecture: $nativearch" \