From: Paul Hänsch Date: Wed, 18 Sep 2019 19:42:15 +0000 (+0200) Subject: try updating dpkg db after restoring apt sources, this way the live system will have... X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=0bbe0a6f3481469600e18ed7cece050d4a67f6ec;p=blast try updating dpkg db after restoring apt sources, this way the live system will have a functional package list --- diff --git a/modules/approx.mk b/modules/approx.mk index 471cf31..1c2e9a9 100644 --- a/modules/approx.mk +++ b/modules/approx.mk @@ -27,3 +27,4 @@ endif _config: _approx_restore_sources _approx_restore_sources: ${CFGROOT} printf '%s\n' "$${approx_original_sources}" >"$${CFGROOT}/etc/apt/sources.list" + -chroot "$${CFGROOT}" apt-get update