make_mirror.sh: retry apt with verbose output

This commit is contained in:
Johannes Schauer Marin Rodrigues 2024-03-23 22:38:30 +01:00
parent 1cf0d87a60
commit cdf6959a41
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -236,7 +236,11 @@ END
esac esac
# shellcheck disable=SC2086 # shellcheck disable=SC2086
APT_CONFIG="$rootdir/etc/apt/apt.conf" apt-get --yes install $pkgs APT_CONFIG="$rootdir/etc/apt/apt.conf" apt-get --yes install $pkgs \
|| APT_CONFIG="$rootdir/etc/apt/apt.conf" apt-get --yes install \
-oDebug::pkgProblemResolver=true -oDebug::pkgDepCache::Marker=1 \
-oDebug::pkgDepCache::AutoInstall=1 \
$pkgs
rm "$rootdir/var/cache/apt/archives/lock" rm "$rootdir/var/cache/apt/archives/lock"
rmdir "$rootdir/var/cache/apt/archives/partial" rmdir "$rootdir/var/cache/apt/archives/partial"