From 631fadc0b9c46c1af82f9161deab83a7fb797c2a Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Tue, 12 Aug 2014 15:37:42 -0600 Subject: [PATCH] Fix contrib/mkimage/debootstrap for Lucid Later versions of `apt` are smart enough to just create this directory if it's missing, but Lucid balks (just like `gnupg` and `gpgv` aren't in the Required set so don't come in a minbase -- good ol' Lucid). Signed-off-by: Andrew Page --- contrib/mkimage/debootstrap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/mkimage/debootstrap b/contrib/mkimage/debootstrap index 3702797ee1..fcda497839 100755 --- a/contrib/mkimage/debootstrap +++ b/contrib/mkimage/debootstrap @@ -188,4 +188,6 @@ fi # delete all the apt list files since they're big and get stale quickly rm -rf "$rootfsDir/var/lib/apt/lists"/* # this forces "apt-get update" in dependent images, which is also good + + mkdir "$rootfsDir/var/lib/apt/lists/partial" # Lucid... "E: Lists directory /var/lib/apt/lists/partial is missing." )