sys: explain how to fix the issue on "debconf-get-selections missing" error
authorintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sun, 29 Jun 2008 07:01:29 +0000 (07:01 +0000)
committerintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sun, 29 Jun 2008 07:01:29 +0000 (07:01 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@593 758a04ac-41e6-0310-8a23-8373a73cc35d

handlers/sys.in

index 83ed7b571e0dd7409d1bcf9f4bdc7181683157e9..f293840157b323004092ffac8db97309a272ddb7 100755 (executable)
@@ -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"