summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-07-30 11:50:21 +0200
committerJonas Smedegaard <dr@jones.dk>2014-07-30 11:50:21 +0200
commit8721b1978656c5daee03e57995395f74a8a5ed5f (patch)
tree6742beb301bb3ea501ea1fea71fcf12007f1be44
parent80f4de62bddc6fa11d812567d987dde8d846b462 (diff)
Fix failure installing via script on (very) minimal system: Install apt-utils before other packages, to ensure dictionaries-common can do its trick of postponing configuration till after a wordlist exist (bug#751367).
-rw-r--r--skel/script.sh.in3
-rw-r--r--tweaks/base4
2 files changed, 5 insertions, 2 deletions
diff --git a/skel/script.sh.in b/skel/script.sh.in
index b33aa72..1a66cba 100644
--- a/skel/script.sh.in
+++ b/skel/script.sh.in
@@ -6,6 +6,9 @@ set -e
# DebianParl Homepage: https://wiki.debian.org/DebianParl
# Source of this code: git://git.debian.org/parl/blends
+# Workaround for dictionaries-common install failure (bug#751367)
+aptitude install apt-utils
+
__PKGDESC__
aptitude install task-laptop __PKGLIST__
diff --git a/tweaks/base b/tweaks/base
index eba954a..9c2811d 100644
--- a/tweaks/base
+++ b/tweaks/base
@@ -18,8 +18,8 @@ _pkganddeepdeps(){ set -e
echo $all|sed -r 's/\s+/\n/g'|sort -u; }
essentials=$(chroot /target dpkg-query -Wf='${Package}%${Essential}\n'|sed -r 's/(.*)%yes/\1/;/%/d')
chroot /target apt-mark auto $(_pkganddeepdeps $essentials apt linux-image-*)
-# fix mark auto-installed d-i installed packages unusable on their own
-chroot /target apt-mark auto aptitude-common grub-common isc-dhcp-common tasksel-data vim-common
+# fix mark auto-installed misc. packages relevant only as dependencies
+chroot /target apt-mark auto apt-utils aptitude-common grub-common isc-dhcp-common tasksel-data vim-common
# keep backup of any tweaked (i.e. edited or created) config file
_backup(){ set -e