[Debconf-devel] Bug#495592: debconf: confmodule: _db_cmd joins args with "I" instead of space
Max Wiehle
max.wiehle at gmail.com
Mon Aug 18 19:47:18 UTC 2008
Package: debconf
Version: 1.5.22
Severity: normal
when sourcing confmodule from a shell script the commands are sometimes
joined with a "I" instead of a space leading to syntax errors:
This is the output of the skript with -x set:
+ db_subst mcf/step_change_local FILE /etc/ucf-ng/no_conflict.conf
+ _db_cmd 'SUBST mcf/step_change_local' FILE
/etc/ucf-ng/no_conflict.conf
+ IFS=' '
+ printf '%s\n' 'SUBST
mcf/step_change_localIFILEI/etc/ucf-ng/no_conflict.conf'
+ IFS='
'
+ read -r _db_internal_line
+ RET='20 Incorrect number of arguments'
+ case ${_db_internal_line%%[ ]*} in
+ return 20
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages debconf depends on:
ii debconf-i18n 1.5.22 full internationalization
support
ii perl-base 5.10.0-11.1 The Pathologically Eclectic
Rubbis
Versions of packages debconf recommends:
ii apt-utils 0.7.14+b1 APT utility programs
Versions of packages debconf suggests:
ii debconf-doc 1.5.22 debconf documentation
pn debconf-utils <none> (no description available)
ii gnome-utils 2.20.0.1-2 GNOME desktop utilities
ii libgnome2-perl 1.042-1+b1 Perl interface to the GNOME
librar
pn libnet-ldap-perl <none> (no description available)
pn libqt-perl <none> (no description available)
pn libterm-readline-gnu-perl <none> (no description available)
ii perl 5.10.0-11.1 Larry Wall's Practical
Extraction
ii whiptail 0.52.2-11.3 Displays user-friendly
dialog boxe
-- debconf information:
debconf-apt-progress/preparing:
debconf-apt-progress/title:
debconf-apt-progress/info:
debconf-apt-progress/media-change:
debconf/frontend: Dialog
debconf/priority: high
More information about the Debconf-devel
mailing list