Package: debconf
Version: 1.4.30.11
Severity: important

I currently run an 275 node debian cluster and i cannot install/upgrade
packages on the iwhole system anymore. The way i do it is via cfengine/cfrun.
So there is no tty's attached to the session. When i login on a node 
via ssh everything works as expected.

The following command was enough to update the whole cluster (Used by us
for several years):
   cfrun_nodes -DUPGRADE

UPGRADE is translated to this script:
  export DEBIAN_FRONTEND="noninteractive"
  apt-get update
  apt-get -y dist-upgrade
  apt-get clean

This fails with the following error message: (cfrun_nodes one
-DUPGRADE):
 cfengine::ade_debian: D000002: fork/exec 
    /var/lib/dpkg/info/flex.postinst ( )
 cfengine::ade_debian: ++ '[' '!' 1 ']'
 cfengine::ade_debian: ++ '[' -z 1 ']'
 cfengine::ade_debian: + db_capb
 cfengine::ade_debian: + _db_cmd 'CAPB '
 cfengine::ade_debian: + echo 'CAPB '
 cfengine::ade_debian: /var/lib/dpkg/info/flex.postinst: line 35: 3: Bad
                       file descriptor


I have adjusted the upgrade script and add this line:
  unset DEBCONF_REDIR

Then this error is displayed:
cfengine::ade_debian: D000002: fork/exec
 /var/lib/dpkg/info/flex.postinst ( )
 cfengine::ade_debian: ++ '[' '!' 1 ']'
 cfengine::ade_debian: ++ '[' -z '' ']'
 cfengine::ade_debian: ++ exec
 cfengine::ade_debian: ++ DEBCONF_REDIR=1
 cfengine::ade_debian: ++ export DEBCONF_REDIR
 cfengine::ade_debian: + db_capb
 cfengine::ade_debian: + _db_cmd 'CAPB '
 cfengine::ade_debian: + echo 'CAPB '
 cfengine::ade_debian: CAPB
 cfengine::ade_debian: + local 'IFS=
 cfengine::ade_debian: '
 cfengine::ade_debian: + local _LINE
 cfengine::ade_debian: + read -r _LINE
 cfengine::ade_debian: dpkg: error while cleaning up:
 cfengine::ade_debian:  subprocess post-installation script returned
                        error exit status 1

This hangs in the read -r _LINE. I have these errors for all the
packages that used debconf.  Is this an bug or did i miss something?

        Regards



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1-dell9
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages debconf depends on:
ii  debconf-i18n                  1.4.30.11  full internationalization support 
ii  perl-base                     5.8.4-5    The Pathologically Eclectic Rubbis

-- debconf information:
* debconf/frontend: Noninteractive
* debconf/priority: critical


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to