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). --- skel/script.sh.in | 3 +++ tweaks/base | 4 ++-- 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 -- cgit v1.2.3