Hi, I got this error at the bottom of the attachment today when upgrading from -5 to -6. I'm using today's woody, perl-5.6 (that readlink-thingie seems to use perl) and I don't have /etc/X11/X. Besides, I think that symlink has never been there on my system during those three years I've been using Debian. Or maybe it has been there, but anyway, that symlink didn't exist when I upgraded to -6. Tuomas Jormola <[EMAIL PROTECTED]> +358 40 8213495 http://shakti.tky.hut.fi/ Jämeräntaival 3c 365, 02150 Espoo, Finland
(17:35:03)(root@dharma)(~)# dpkg --configure -a Setting up xserver-xfree86 (4.0.1-6) ... this_package=xserver-xfree86 + this_package=xserver-xfree86 this_server=/usr/bin/X11/XFree86 + this_server=/usr/bin/X11/XFree86 # source debconf library . /usr/share/debconf/confmodule + . /usr/share/debconf/confmodule #!/bin/sh # This is a shell library to interface to the Debian configration management # system. ############################################################################### # Initialization. # Check to see if a FrontEnd is running. if [ ! "$DEBIAN_HAS_FRONTEND" ]; then # Ok, this is pretty crazy. Since there is no FrontEnd, this # program execs a FrontEnd. It will then run a new copy of $0 that # can talk to it. exec /usr/share/debconf/frontend $0 "$@" fi ++ '[' '!' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/xserver-xfree86.postinst +configure 4.0.1-5 this_package=xserver-xfree86 + this_package=xserver-xfree86 this_server=/usr/bin/X11/XFree86 + this_server=/usr/bin/X11/XFree86 # source debconf library . /usr/share/debconf/confmodule + . /usr/share/debconf/confmodule #!/bin/sh # This is a shell library to interface to the Debian configration management # system. ############################################################################### # Initialization. # Check to see if a FrontEnd is running. if [ ! "$DEBIAN_HAS_FRONTEND" ]; then # Ok, this is pretty crazy. Since there is no FrontEnd, this # program execs a FrontEnd. It will then run a new copy of $0 that # can talk to it. exec /usr/share/debconf/frontend $0 "$@" 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 1>&2 DEBCONF_REDIR=1 export DEBCONF_REDIR fi ++ '[' -z '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR ############################################################################### # Commands. # Generate subroutines for all commands that don't have special handlers. # Each command must be listed twice, once in lower case, once in upper. # Doing that saves us a lot of calls to tr at load time. I just wish shell had # an upper-case function. old_opts="$@" ++ old_opts=configure 4.0.1-5 for i in "capb CAPB" "set SET" "reset RESET" "title TITLE" \ "input INPUT" "beginblock BEGINBLOCK" "endblock ENDBLOCK" "go GO" \ "get GET" "register REGISTER" "unregister UNREGISTER" "subst SUBST" \ "previous_module PREVIOUS_MODULE" "fset FSET" "fget FGET" \ "purge PURGE" "metaget METAGET" "version VERSION" "clear CLEAR"; do # Break string up into words. set -- $i # Generate function on the fly. eval "db_$1 () { local _RET echo \"$2 \$@\" >&3 read _RET set -- \$_RET _RET=\$1 shift RET="\$@" return \$_RET }" done ++ set -- capb CAPB ++ eval 'db_capb () { local _RET echo "CAPB $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_capb () { local _RET echo "CAPB $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- set SET ++ eval 'db_set () { local _RET echo "SET $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_set () { local _RET echo "SET $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- reset RESET ++ eval 'db_reset () { local _RET echo "RESET $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_reset () { local _RET echo "RESET $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- title TITLE ++ eval 'db_title () { local _RET echo "TITLE $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_title () { local _RET echo "TITLE $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- input INPUT ++ eval 'db_input () { local _RET echo "INPUT $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_input () { local _RET echo "INPUT $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- beginblock BEGINBLOCK ++ eval 'db_beginblock () { local _RET echo "BEGINBLOCK $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_beginblock () { local _RET echo "BEGINBLOCK $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- endblock ENDBLOCK ++ eval 'db_endblock () { local _RET echo "ENDBLOCK $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_endblock () { local _RET echo "ENDBLOCK $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- go GO ++ eval 'db_go () { local _RET echo "GO $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_go () { local _RET echo "GO $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- get GET ++ eval 'db_get () { local _RET echo "GET $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_get () { local _RET echo "GET $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- register REGISTER ++ eval 'db_register () { local _RET echo "REGISTER $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_register () { local _RET echo "REGISTER $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- unregister UNREGISTER ++ eval 'db_unregister () { local _RET echo "UNREGISTER $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_unregister () { local _RET echo "UNREGISTER $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- subst SUBST ++ eval 'db_subst () { local _RET echo "SUBST $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_subst () { local _RET echo "SUBST $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- previous_module PREVIOUS_MODULE ++ eval 'db_previous_module () { local _RET echo "PREVIOUS_MODULE $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_previous_module () { local _RET echo "PREVIOUS_MODULE $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- fset FSET ++ eval 'db_fset () { local _RET echo "FSET $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_fset () { local _RET echo "FSET $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- fget FGET ++ eval 'db_fget () { local _RET echo "FGET $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_fget () { local _RET echo "FGET $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- purge PURGE ++ eval 'db_purge () { local _RET echo "PURGE $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_purge () { local _RET echo "PURGE $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- metaget METAGET ++ eval 'db_metaget () { local _RET echo "METAGET $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_metaget () { local _RET echo "METAGET $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- version VERSION ++ eval 'db_version () { local _RET echo "VERSION $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_version () { local _RET echo "VERSION $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } ++ set -- clear CLEAR ++ eval 'db_clear () { local _RET echo "CLEAR $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET }' db_clear () { local _RET echo "CLEAR $@" >&3 read _RET set -- $_RET _RET=$1 shift RET=$@ return $_RET } # $@ was clobbered above, unclobber. set -- $old_opts ++ set -- configure 4.0.1-5 unset old_opts ++ unset old_opts # Just an alias for input. It tends to make more sense to use this to display # text, since displaying text isn't really asking for input. db_text () { db_input $@ } # Cannot read a return code, since there is none and we would block. db_stop () { echo STOP >&3 } message () { ${condecho:-:} >&2 echo "$*" | fmt -u -w ${COLUMNS:-80} >&2 condecho=echo; } errormsg () { message "Please report the package name, version, and the contents of this" \ "error message to <[EMAIL PROTECTED]>." exit 1; } readlink () { # perl kludge until readlink(1) from tetex-bin is moved into an essential package # returns what symlink actually points to perl -e '$l = shift; exit 1 unless -l $l; $r = readlink $l; exit 1 unless $r; print "$r\n"' $1; } trap "message ;\ message 'Received signal. Aborting configuration of xdm package.' ;\ message ;\ exit 1" 1 2 3 15 + trap 'message ; message '\''Received signal. Aborting configuration of xdm +package.'\'' ; message ; exit 1' 1 2 3 15 case "$1" in configure) ;; abort-upgrade|abort-remove|abort-deconfigure) exit 0 ;; esac # Automatically added by dh_installdocs if [ "$1" = "configure" ]; then if [ -d /usr/doc -a ! -e /usr/doc/xserver-xfree86 -a -d /usr/share/doc/xserver-xfree86 ]; then ln -sf ../share/doc/xserver-xfree86 /usr/doc/xserver-xfree86 fi fi + '[' configure = configure ']' + '[' -d /usr/doc -a '!' -e /usr/doc/xserver-xfree86 -a -d +/usr/share/doc/xserver-xfree86 ']' # End automatically added section # set up the /etc/X11/X symlink current_server="$(readlink /etc/X11/X)" readlink /etc/X11/X ++ readlink /etc/X11/X ++ perl -e '$l = shift; exit 1 unless -l $l; $r = readlink $l; exit 1 unless $r; print +"$r\n"' /etc/X11/X + current_server= dpkg: error processing xserver-xfree86 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: xserver-xfree86 (17:35:12)(root@dharma)(~)#