Package: debconf
Version: 1.4.49
Severity: minor
Manual page od debconf(1) reads:
EXAMPLES
To debug a shell script that uses debconf, you might use:
DEBCONF_DEBUG=developer debconf my-shell-prog
However, this call does not work:
# DEBCONF_DEBUG="developer" debconf -ostem preinst
debconf (developer): starting preinst
Can't exec "preinst": No such file or directory at
/usr/share/perl/5.8/IPC/Open3.pm line 168.
open2: exec of preinst failed at /usr/share/perl5/Debconf/ConfModule.pm line
44
But this does:
# DEBCONF_DEBUG="developer" debconf -ostem $(pwd)/preinst
debconf (developer): starting /root/tmp/distro/work/debian/preinst
debconf (developer): <-- INPUT medium stem/package_note
debconf (developer): --> 30 question skipped
debconf (developer): <-- GO
debconf (developer): --> 0 ok
debconf (developer): <-- GET stem/package_remove
debconf (developer): --> 0 false
SUGGESTIION
Change the manual page to say that absolute paths are neede to run the
files through debconf. E.g.
DEBCONF_DEBUG=developer debconf /path/to/my-shell-prog
...
debconf --frontend=readline sh -x /path/to/my-shell-prog
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)
Versions of packages debconf depends on:
ii debconf-i18n 1.4.49 full internationalization support
ii perl-base 5.8.4-8 The Pathologically Eclectic Rubbis
-- debconf information excluded
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]