Package: mydns-mysql
Version: 1:1.1.0-7etch1
Severity: grave
I installed the package and ignored the asked configuration questions as I
wanted to enter them into the configuration file by hand.
Because the default information is invalid, the package fails to install.
To provide the correct information I tried to purge the package and to
reinstall it (dpkg-reconfigure did not work as the package has not been
correctly installed).
When running dpkg --purge mydns-mysql, the script hangs. I added a set -exv to
the postrm script and it gave the following output:
....+ IFS='
'
+ read -r _db_internal_line
+ RET=mydns
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ MYSQL_PASSWD=mydns
+ db_stop
+ echo STOP
+ '[' 0 -ne 0 ']'
+ '[' 0 -ne 0 ']'
+ drop_config
+ rm -f /etc/mydns.conf
cleanup
+ cleanup
+ '[' -n ']'
+ rm -rf
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
+ '[' purge = purge ']'
+ '[' -e /usr/share/debconf/confmodule ']'
+ . /usr/share/debconf/confmodule
#!/bin/sh
# This is a shell library to interface to the Debian configuration management
# system.
###############################################################################
# Initialization.
# Check to see if a FrontEnd is running.
if [ ! "$DEBIAN_HAS_FRONTEND" ]; then
PERL_DL_NONLAZY=1
export PERL_DL_NONLAZY
# Since there is no FrontEnd, this program execs a FrontEnd.
# It will then run a new copy of $0 that can talk to it.
if [ "$DEBCONF_USE_CDEBCONF" ]; then
exec /usr/lib/cdebconf/debconf $0 "$@"
else
exec /usr/share/debconf/frontend $0 "$@"
fi
fi
++ '[' '!' 1 ']'
# Only do this once.
if [ -z "$DEBCONF_REDIR" ]; then
# Redirect standard output to standard error. This prevents common
# mistakes by making all the output of the postinst or whatever
# script is using this library not be parsed as confmodule commands.
#
# To actually send something to standard output, send it to fd 3.
exec 3>&1
if [ "$DEBCONF_USE_CDEBCONF" ]; then
exec 1>&5
else
exec 1>&2
fi
DEBCONF_REDIR=1
export DEBCONF_REDIR
fi
++ '[' -z 1 ']'
###############################################################################
# Commands.
_db_cmd () {
IFS=' ' printf '%s\n' "$*" >&3
# Set to newline to get whole line.
IFS='
' read -r _db_internal_line
# Disgusting, but it's the only good way to split the line,
# preserving all other whitespace.
RET="${_db_internal_line#[! ][ ]}"
case ${_db_internal_line%%[ ]*} in
1) # escaped data
RET="$(printf '%s' "$RET" | debconf-escape -u)"
return 0
;;
esac
return ${_db_internal_line%%[ ]*}
}
db_capb () { _db_cmd "CAPB $@"; }
db_set () { _db_cmd "SET $@"; }
db_reset () { _db_cmd "RESET $@"; }
db_title () { _db_cmd "TITLE $@"; }
db_input () { _db_cmd "INPUT $@"; }
db_beginblock () { _db_cmd "BEGINBLOCK $@"; }
db_endblock () { _db_cmd "ENDBLOCK $@"; }
db_go () { _db_cmd "GO $@"; }
db_get () { _db_cmd "GET $@"; }
db_register () { _db_cmd "REGISTER $@"; }
db_unregister () { _db_cmd "UNREGISTER $@"; }
db_subst () { _db_cmd "SUBST $@"; }
db_fset () { _db_cmd "FSET $@"; }
db_fget () { _db_cmd "FGET $@"; }
db_purge () { _db_cmd "PURGE $@"; }
db_metaget () { _db_cmd "METAGET $@"; }
db_version () { _db_cmd "VERSION $@"; }
db_clear () { _db_cmd "CLEAR $@"; }
db_settitle () { _db_cmd "SETTITLE $@"; }
db_previous_module () { _db_cmd "PREVIOUS_MODULE $@"; }
db_info () { _db_cmd "INFO $@"; }
db_progress () { _db_cmd "PROGRESS $@"; }
# An old alias for input.
db_text () {
db_input $@
}
# Cannot read a return code, since there is none and it would block.
db_stop () {
echo STOP >&3
}
+ db_purge
+ _db_cmd 'PURGE '
+ IFS=' '
+ printf '%s\n' 'PURGE '
+ IFS='
'
+ read -r _db_internal_line
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.21-071108a
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages mydns-mysql depends on:
ii debconf [debconf-2.0] 1.5.11etch1 Debian configuration management sy
ii libc6 2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii libmysqlclient15off 5.0.32-7etch5 mysql database client library
ii mysql-client-5.0 [mysq 5.0.32-7etch5 mysql database client binaries
ii zlib1g 1:1.2.3-13 compression library - runtime
mydns-mysql recommends no packages.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]