From 8721b1978656c5daee03e57995395f74a8a5ed5f Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 30 Jul 2014 11:50:21 +0200 Subject: 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). --- tweaks/base | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tweaks/base') 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 -- cgit v1.2.3