aboutsummaryrefslogtreecommitdiff
path: root/handlers/sys.in
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-06-29 07:01:29 +0000
committerintrigeri <intrigeri@boum.org>2008-06-29 07:01:29 +0000
commit947b6f03ff22074b667ffec8067e5295dd13874b (patch)
tree2af078ca69ea043ad5cfba574c963df27d290379 /handlers/sys.in
parent788e82b56a4bdd1758e9887788b8fb818c9850a3 (diff)
downloadbackupninja-947b6f03ff22074b667ffec8067e5295dd13874b.tar.gz
backupninja-947b6f03ff22074b667ffec8067e5295dd13874b.tar.bz2
sys: explain how to fix the issue on "debconf-get-selections missing" error
Diffstat (limited to 'handlers/sys.in')
-rwxr-xr-xhandlers/sys.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/sys.in b/handlers/sys.in
index 83ed7b5..f293840 100755
--- a/handlers/sys.in
+++ b/handlers/sys.in
@@ -135,7 +135,7 @@ if [ "$packages" == "yes" ]; then
[ -n "`$VSERVER $vserver exec which debconf-get-selections`" ] && found=yes
fi
if [ "$found" != yes ]; then
- warning "can't find debconf-get-selections in vserver $vserver, skipping package selection states."
+ warning "can't find debconf-get-selections in vserver $vserver, skipping package selection states. You may want to install the debconf-utils package."
else
debug "$VSERVER $vserver exec $debconfgetselections > $VROOTDIR/$vserver$selectionsfile"
$VSERVER $vserver exec $debconfgetselections > $VROOTDIR/$vserver$selectionsfile || fatal "can not save debconf-get-selections info to $selectionsfile"
@@ -155,7 +155,7 @@ if [ "$packages" == "yes" ]; then
set +o noglob
fi
if [ -z "$debconfgetselections" ]; then
- warning "can't find debconf-get-selections, skipping package selection states."
+ warning "can't find debconf-get-selections, skipping package selection states. You might want to install the debconf-utils package."
else
debug "$debconfgetselections > $selectionsfile"
$debconfgetselections > $selectionsfile || fatal "can not save $debconfgetselections info to $selectionsfile"