forked from josch/mmdebstrap
make_mirror.sh: retry apt with verbose output
This commit is contained in:
parent
1cf0d87a60
commit
cdf6959a41
1 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue