From 91d417296f39959abc322089fcafd9bdf1ea0c82 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 1 Nov 2009 11:32:19 +0100 Subject: [PATCH] config/hooks/instsoft.GRMLBASE: force installation of file-rc --- debian/changelog | 4 +++- etc/grml/fai/config/hooks/instsoft.GRMLBASE | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4bf6f6f..df6c0ef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,8 +7,10 @@ grml-live (0.9.30) UNRELEASED; urgency=low * Apply patch by Christian Hofstaedtler (thanks!): Ensure /etc/mtab is always present. Newer debootstrap versions no longer create /etc/mtab, so we need to provide our own. + * config/hooks/instsoft.GRMLBASE: force installation of file-rc using + aptitude's Aptitude::ProblemResolver::Keep-All-Tier option. - -- Michael Prokop Fri, 30 Oct 2009 19:48:50 +0100 + -- Michael Prokop Sun, 01 Nov 2009 11:31:44 +0100 grml-live (0.9.29) unstable; urgency=low diff --git a/etc/grml/fai/config/hooks/instsoft.GRMLBASE b/etc/grml/fai/config/hooks/instsoft.GRMLBASE index df99f5b..e92ec5e 100755 --- a/etc/grml/fai/config/hooks/instsoft.GRMLBASE +++ b/etc/grml/fai/config/hooks/instsoft.GRMLBASE @@ -127,7 +127,9 @@ fi # make sure we have file-rc available before # package_config/GRML is being executed: $ROOTCMD apt-get update -$ROOTCMD aptitude -f -y install file-rc +# newer aptitude versions won't remove essential packages using +# 'aptitude -f -y install file-rc' anymore, therefore force it: +$ROOTCMD aptitude -o Aptitude::ProblemResolver::Keep-All-Tier=60000 -f -y install file-rc # we definitely don't want to fail running fai dirinstall just # because of some well known bugs: -- 2.1.4