On Fri, Jan 09, 2004 at 01:27:19PM -0500, Branden Robinson wrote: > On Wed, Jan 07, 2004 at 06:55:04AM +0000, Julian Gilbey wrote: > > On Tue, Jan 06, 2004 at 09:19:54PM -0500, Branden Robinson wrote: > > > Please show me (er, well, mail this bug) the output of the misbehaving > > > dpkg-reconfigure command after doing this: > > > > > > # export DEBUG_XFREE86_PACKAGE=yes > > > > Not so much info there, I'm afraid :-( > > Grrr. > > All right, show me *this*: > > /usr/share/debconf/frontend sh -x /var/lib/dpkg/info/xdm.config reconfigure
Here it is: polya2:~ # /usr/share/debconf/frontend sh -x /var/lib/dpkg/info/xdm.config reconfigure + set -e + . /usr/share/debconf/confmodule + [ ! 1 ] + [ -z ] + exec + DEBCONF_REDIR=1 + export DEBCONF_REDIR + _old_opts=reconfigure + set -- capb CAPB + eval db_capb () { echo "CAPB $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- set SET + eval db_set () { echo "SET $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- reset RESET + eval db_reset () { echo "RESET $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- title TITLE + eval db_title () { echo "TITLE $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- input INPUT + eval db_input () { echo "INPUT $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- beginblock BEGINBLOCK + eval db_beginblock () { echo "BEGINBLOCK $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- endblock ENDBLOCK + eval db_endblock () { echo "ENDBLOCK $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- go GO + eval db_go () { echo "GO $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- get GET + eval db_get () { echo "GET $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- register REGISTER + eval db_register () { echo "REGISTER $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- unregister UNREGISTER + eval db_unregister () { echo "UNREGISTER $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- subst SUBST + eval db_subst () { echo "SUBST $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- previous_module PREVIOUS_MODULE + eval db_previous_module () { echo "PREVIOUS_MODULE $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- fset FSET + eval db_fset () { echo "FSET $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- fget FGET + eval db_fget () { echo "FGET $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- purge PURGE + eval db_purge () { echo "PURGE $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- metaget METAGET + eval db_metaget () { echo "METAGET $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- version VERSION + eval db_version () { echo "VERSION $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- clear CLEAR + eval db_clear () { echo "CLEAR $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- settitle SETTITLE + eval db_settitle () { echo "SETTITLE $@" >&3 # Set to newline to get whole line. local IFS=' ' local _LINE read -r _LINE # Disgusting, but it's the only good way to split the line, # preserving all other whitespace. RET="${_LINE#[! ][ ]}" return ${_LINE%%[ ]*} } + set -- reconfigure + unset _old_opts + THIS_PACKAGE=xdm + THIS_SCRIPT=config + SOURCE_VERSION=4.2.1-15 + OFFICIAL_BUILD=yes + SHELL_LIB_INTERNAL_ERROR=86 + SHELL_LIB_THROWN_ERROR=74 + SHELL_LIB_USAGE_ERROR=99 + [ -z xdm ] + [ -z config ] + trap message; message "Received signal. Aborting xdm package config script."; message; exit 1 HUP INT QUIT TERM + which readlink + DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager + OWNERS= + db_metaget shared/default-x-display-manager owners + echo METAGET shared/default-x-display-manager owners + local IFS= + local _LINE + read -r _LINE + RET=kdm, xdm + return 0 + OWNERS=kdm, xdm + CHOICES= + db_metaget shared/default-x-display-manager choices + echo METAGET shared/default-x-display-manager choices + local IFS= + local _LINE + read -r _LINE + RET= + return 0 + CHOICES= + [ -n kdm, xdm -a -n ] + NEW_DEFAULT= + db_get shared/default-x-display-manager + echo GET shared/default-x-display-manager + local IFS= + local _LINE + read -r _LINE + RET= + return 0 + NEW_DEFAULT= + [ -n ] + exit 0 polya2:~ # My /var/cache/debconf/templates.dat file contains: Name: shared/default-x-display-manager Choices: ${choices} Description: Select the desired default display manager. [...] and the config.dat file contains: Name: shared/default-x-display-manager Template: shared/default-x-display-manager Owners: kdm, xdm (and nothing else in this section). Julian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, website: http://www.polya.uklinux.net/ Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/ Visit http://www.thehungersite.com/ to help feed the hungry