From eb98dfbaee3aede1585a4a6f4cedf1b6488a0843 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Thu, 22 Dec 2022 10:17:58 +0100 Subject: [PATCH] apt also needs /var/lib to exist --- mmdebstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmdebstrap b/mmdebstrap index f7f393b..84105d5 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -6852,7 +6852,7 @@ retained. This section gives an overview of the different steps to create a chroot. At its core, what B does can be put into a 14 line shell script: - mkdir -p "$2/etc/apt" "$2/var/cache" + mkdir -p "$2/etc/apt" "$2/var/cache" "$2/var/lib" cat << END > "$2/apt.conf" Apt::Architecture "$(dpkg --print-architecture)"; Apt::Architectures "$(dpkg --print-architecture)";