Bug#532623: [xserver-xorg] install hangs at Setting up xserver-xorg (1:7.4+2)
On Wed, 2009-06-10 at 16:00 +0200, Julien Cristau wrote:
> severity 532623 grave
> kthxbye
>
> > Setting up xserver-xorg (1:7.4+2)
> >
> What is it doing when it hangs? Add 'set -x' at the top of
> /var/lib/dpkg/info/xserver-xorg.postinst and run dpkg --configure -a.
>
> Cheers,
> Julien
Here is the same thing with debug:
dpkg --debug=3773 --configure xserver-xorg
D000040: checking dependencies of xserver-xorg (- <none>)
D000400: checking group ...
D000400: checking possibility -> xserver-xorg-core
D000400: is installed, ok and found
D000400: found 3
D000400: found 3 matched 0 possfixbytrig -
D000400: checking group ...
D000400: checking possibility -> xserver-xorg-input-evdev
D000400: is installed, ok and found
D000400: found 3
D000400: found 3 matched 0 possfixbytrig -
D000400: checking group ...
D000400: checking possibility -> xserver-xorg-video-all
D000400: is installed, ok and found
D000400: found 3
D000400: found 3 matched 0 possfixbytrig -
D000400: checking group ...
D000400: checking possibility -> xserver-xorg-input-all
D000400: is installed, ok and found
D000400: found 3
D000400: found 3 matched 0 possfixbytrig -
D000400: checking group ...
D000400: checking possibility -> hal
D000400: is installed, ok and found
D000400: found 3
D000400: found 3 matched 0 possfixbytrig -
D000400: checking group ...
D000400: checking possibility -> console-setup
D000400: is installed, ok and found
D000400: found 3
D000400: found 3 matched 0 possfixbytrig -
D000400: checking group ...
D000400: checking possibility -> libc6
D000400: is installed, ok and found
D000400: found 3
D000400: found 3 matched 0 possfixbytrig -
D000400: checking group ...
D000400: checking possibility -> xkb-data
D000400: is installed, ok and found
D000400: found 3
D000400: found 3 matched 0 possfixbytrig -
D000400: checking group ...
D000400: checking possibility -> x11-xkb-utils
D000400: is installed, ok and found
D000400: found 3
D000400: found 3 matched 0 possfixbytrig -
D000040: ok 2 msgs >><<
D000040: checking Breaks
D000400: checking breaker gnome-session virtbroken <none>
Setting up xserver-xorg (1:7.4+2) ...
D000002: fork/exec /var/lib/dpkg/info/xserver-xorg.postinst ( configure
1:7.3+18 )
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++
exec /usr/share/debconf/frontend /var/lib/dpkg/info/xserver-xorg.postinst configure 1:7.3+18
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ THIS_PACKAGE=xserver-xorg
+ THIS_SCRIPT=postinst
+ SOURCE_VERSION=1:7.4+2
+ OFFICIAL_BUILD=
+ SHELL_LIB_INTERNAL_ERROR=86
+ SHELL_LIB_THROWN_ERROR=74
+ SHELL_LIB_USAGE_ERROR=99
+ '[' -z '' ']'
+ '[' -n '' ']'
+ '[' -z '' ']'
+ '[' -n '' ']'
+ '[' -z xserver-xorg ']'
+ '[' -z postinst ']'
+ '[' configure = reconfigure ']'
+ '[' -n '' ']'
+ RECONFIGURE=
+ '[' configure = install ']'
+ '[' configure = configure ']'
+ '[' -z 1:7.3+18 ']'
+ '[' -z '' ']'
+ '[' -z '' ']'
+ UPGRADE=yes
+ trap 'message; message "Received signal. Aborting xserver-xorg
package postinst script."; message; exit 1' HUP INT QUIT TERM
++ stty size
++ awk '{print $2}'
+ DEFCOLUMNS=
+ expr '' : '[[:digit:]]\+$'
+ DEFCOLUMNS=80
+ '[' -e /etc/default/xorg ']'
+ CONFIG_DIR=/etc/X11
+ CONFIG_AUX_DIR=/var/lib/x11
+ SERVER_SYMLINK=/etc/X11/X
+ XORGCONFIG=/etc/X11/xorg.conf
+ CONFIG_AUX_DIR=/var/lib/x11
+ SERVER_SYMLINK_CHECKSUM=/var/lib/x11/X.md5sum
+ SERVER_SYMLINK_ROSTER=/var/lib/x11/X.roster
+ XORGCONFIG_CHECKSUM=/var/lib/x11/xorg.conf.md5sum
+ XORGCONFIG_ROSTER=/var/lib/x11/xorg.conf.roster
+ THIS_SERVER=/usr/bin/Xorg
+ debug_echo 'Configuring xserver-xorg.'
+ '[' -n '' ']'
+ '[' '' = user ']'
+ '[' '' = '.*' ']'
+ '[' -e /etc/X11/X ']'
++ readlink /etc/X11/X
+ '[' /usr/bin/Xorg = /bin/true ']'
+ '[' -n yes ']'
+ dpkg --compare-versions 1:7.3+18 le 1:7.3+5
+ dpkg --compare-versions 1:7.3+18 lt-nl 1:7.4
+ for QUESTION in xserver-xorg/config/null_string_error
xserver-xorg/config/doublequote_in_string_error
xserver-xorg/config/nonnumeric_string_error
xserver-xorg/config/device/use_fbdev xserver-xorg/config/device/driver
xserver-xorg/config/inputdevice/keyboard/rules
xserver-xorg/config/inputdevice/keyboard/model
xserver-xorg/config/inputdevice/keyboard/layout
xserver-xorg/config/inputdevice/keyboard/variant
xserver-xorg/config/inputdevice/keyboard/options
xserver-xorg/autodetect_keyboard
+ db_unregister xserver-xorg/config/null_string_error
+ _db_cmd 'UNREGISTER xserver-xorg/config/null_string_error'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER xserver-xorg/config/null_string_error'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ for QUESTION in xserver-xorg/config/null_string_error
xserver-xorg/config/doublequote_in_string_error
xserver-xorg/config/nonnumeric_string_error
xserver-xorg/config/device/use_fbdev xserver-xorg/config/device/driver
xserver-xorg/config/inputdevice/keyboard/rules
xserver-xorg/config/inputdevice/keyboard/model
xserver-xorg/config/inputdevice/keyboard/layout
xserver-xorg/config/inputdevice/keyboard/variant
xserver-xorg/config/inputdevice/keyboard/options
xserver-xorg/autodetect_keyboard
+ db_unregister xserver-xorg/config/doublequote_in_string_error
+ _db_cmd 'UNREGISTER xserver-xorg/config/doublequote_in_string_error'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER
xserver-xorg/config/doublequote_in_string_error'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ for QUESTION in xserver-xorg/config/null_string_error
xserver-xorg/config/doublequote_in_string_error
xserver-xorg/config/nonnumeric_string_error
xserver-xorg/config/device/use_fbdev xserver-xorg/config/device/driver
xserver-xorg/config/inputdevice/keyboard/rules
xserver-xorg/config/inputdevice/keyboard/model
xserver-xorg/config/inputdevice/keyboard/layout
xserver-xorg/config/inputdevice/keyboard/variant
xserver-xorg/config/inputdevice/keyboard/options
xserver-xorg/autodetect_keyboard
+ db_unregister xserver-xorg/config/nonnumeric_string_error
+ _db_cmd 'UNREGISTER xserver-xorg/config/nonnumeric_string_error'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER xserver-xorg/config/nonnumeric_string_error'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ for QUESTION in xserver-xorg/config/null_string_error
xserver-xorg/config/doublequote_in_string_error
xserver-xorg/config/nonnumeric_string_error
xserver-xorg/config/device/use_fbdev xserver-xorg/config/device/driver
xserver-xorg/config/inputdevice/keyboard/rules
xserver-xorg/config/inputdevice/keyboard/model
xserver-xorg/config/inputdevice/keyboard/layout
xserver-xorg/config/inputdevice/keyboard/variant
xserver-xorg/config/inputdevice/keyboard/options
xserver-xorg/autodetect_keyboard
+ db_unregister xserver-xorg/config/device/use_fbdev
+ _db_cmd 'UNREGISTER xserver-xorg/config/device/use_fbdev'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER xserver-xorg/config/device/use_fbdev'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ for QUESTION in xserver-xorg/config/null_string_error
xserver-xorg/config/doublequote_in_string_error
xserver-xorg/config/nonnumeric_string_error
xserver-xorg/config/device/use_fbdev xserver-xorg/config/device/driver
xserver-xorg/config/inputdevice/keyboard/rules
xserver-xorg/config/inputdevice/keyboard/model
xserver-xorg/config/inputdevice/keyboard/layout
xserver-xorg/config/inputdevice/keyboard/variant
xserver-xorg/config/inputdevice/keyboard/options
xserver-xorg/autodetect_keyboard
+ db_unregister xserver-xorg/config/device/driver
+ _db_cmd 'UNREGISTER xserver-xorg/config/device/driver'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER xserver-xorg/config/device/driver'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ for QUESTION in xserver-xorg/config/null_string_error
xserver-xorg/config/doublequote_in_string_error
xserver-xorg/config/nonnumeric_string_error
xserver-xorg/config/device/use_fbdev xserver-xorg/config/device/driver
xserver-xorg/config/inputdevice/keyboard/rules
xserver-xorg/config/inputdevice/keyboard/model
xserver-xorg/config/inputdevice/keyboard/layout
xserver-xorg/config/inputdevice/keyboard/variant
xserver-xorg/config/inputdevice/keyboard/options
xserver-xorg/autodetect_keyboard
+ db_unregister xserver-xorg/config/inputdevice/keyboard/rules
+ _db_cmd 'UNREGISTER xserver-xorg/config/inputdevice/keyboard/rules'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER
xserver-xorg/config/inputdevice/keyboard/rules'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ for QUESTION in xserver-xorg/config/null_string_error
xserver-xorg/config/doublequote_in_string_error
xserver-xorg/config/nonnumeric_string_error
xserver-xorg/config/device/use_fbdev xserver-xorg/config/device/driver
xserver-xorg/config/inputdevice/keyboard/rules
xserver-xorg/config/inputdevice/keyboard/model
xserver-xorg/config/inputdevice/keyboard/layout
xserver-xorg/config/inputdevice/keyboard/variant
xserver-xorg/config/inputdevice/keyboard/options
xserver-xorg/autodetect_keyboard
+ db_unregister xserver-xorg/config/inputdevice/keyboard/model
+ _db_cmd 'UNREGISTER xserver-xorg/config/inputdevice/keyboard/model'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER
xserver-xorg/config/inputdevice/keyboard/model'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ for QUESTION in xserver-xorg/config/null_string_error
xserver-xorg/config/doublequote_in_string_error
xserver-xorg/config/nonnumeric_string_error
xserver-xorg/config/device/use_fbdev xserver-xorg/config/device/driver
xserver-xorg/config/inputdevice/keyboard/rules
xserver-xorg/config/inputdevice/keyboard/model
xserver-xorg/config/inputdevice/keyboard/layout
xserver-xorg/config/inputdevice/keyboard/variant
xserver-xorg/config/inputdevice/keyboard/options
xserver-xorg/autodetect_keyboard
+ db_unregister xserver-xorg/config/inputdevice/keyboard/layout
+ _db_cmd 'UNREGISTER xserver-xorg/config/inputdevice/keyboard/layout'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER
xserver-xorg/config/inputdevice/keyboard/layout'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ for QUESTION in xserver-xorg/config/null_string_error
xserver-xorg/config/doublequote_in_string_error
xserver-xorg/config/nonnumeric_string_error
xserver-xorg/config/device/use_fbdev xserver-xorg/config/device/driver
xserver-xorg/config/inputdevice/keyboard/rules
xserver-xorg/config/inputdevice/keyboard/model
xserver-xorg/config/inputdevice/keyboard/layout
xserver-xorg/config/inputdevice/keyboard/variant
xserver-xorg/config/inputdevice/keyboard/options
xserver-xorg/autodetect_keyboard
+ db_unregister xserver-xorg/config/inputdevice/keyboard/variant
+ _db_cmd 'UNREGISTER xserver-xorg/config/inputdevice/keyboard/variant'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER
xserver-xorg/config/inputdevice/keyboard/variant'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ for QUESTION in xserver-xorg/config/null_string_error
xserver-xorg/config/doublequote_in_string_error
xserver-xorg/config/nonnumeric_string_error
xserver-xorg/config/device/use_fbdev xserver-xorg/config/device/driver
xserver-xorg/config/inputdevice/keyboard/rules
xserver-xorg/config/inputdevice/keyboard/model
xserver-xorg/config/inputdevice/keyboard/layout
xserver-xorg/config/inputdevice/keyboard/variant
xserver-xorg/config/inputdevice/keyboard/options
xserver-xorg/autodetect_keyboard
+ db_unregister xserver-xorg/config/inputdevice/keyboard/options
+ _db_cmd 'UNREGISTER xserver-xorg/config/inputdevice/keyboard/options'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER
xserver-xorg/config/inputdevice/keyboard/options'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ for QUESTION in xserver-xorg/config/null_string_error
xserver-xorg/config/doublequote_in_string_error
xserver-xorg/config/nonnumeric_string_error
xserver-xorg/config/device/use_fbdev xserver-xorg/config/device/driver
xserver-xorg/config/inputdevice/keyboard/rules
xserver-xorg/config/inputdevice/keyboard/model
xserver-xorg/config/inputdevice/keyboard/layout
xserver-xorg/config/inputdevice/keyboard/variant
xserver-xorg/config/inputdevice/keyboard/options
xserver-xorg/autodetect_keyboard
+ db_unregister xserver-xorg/autodetect_keyboard
+ _db_cmd 'UNREGISTER xserver-xorg/autodetect_keyboard'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER xserver-xorg/autodetect_keyboard'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ dpkg --compare-versions 1:7.3+18 lt-nl 1:7.4+2
+ db_unregister xserver-xorg/config/device/bus_id
+ _db_cmd 'UNREGISTER xserver-xorg/config/device/bus_id'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER xserver-xorg/config/device/bus_id'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ db_unregister xserver-xorg/config/device/bus_id_error
+ _db_cmd 'UNREGISTER xserver-xorg/config/device/bus_id_error'
+ IFS=' '
+ printf '%s\n' 'UNREGISTER xserver-xorg/config/device/bus_id_error'
+ IFS='
'
+ read -r _db_internal_line
+ RET=0
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ rm -f /var/lib/x11/xorg.conf.roster /var/lib/x11/xorg.conf.md5sum
+ rm -f /var/lib/x11/X.md5sum /var/lib/x11/X.roster
+ dpkg --compare-versions 1:7.3+18 lt-nl 1:7.4~3
+ '[' -e /etc/X11/xorg.conf ']'
+ LC_ALL=C
+ sed '-e
/^[[:space:]]*Section[[:space:]]\+"Device"[[:space:]]*
$/I,/^[[:space:]]*EndSection[[:space:]]*$/I {
/^[[:space:]]*Driver[[:space:]]\+"i810"/I s/i810/intel/I
/^[[:space:]]*Driver[[:space:]]\+"via"/I s/via/openchrome/I
}
' /etc/X11/xorg.conf
+ cmp -s /etc/X11/xorg.conf /etc/X11/xorg.conf.madwizard-new
+ rm /etc/X11/xorg.conf.madwizard-new
+ case "$1" in
+ dpkg --compare-versions 1:7.3+18 lt-nl 1:7.3+11
+ dpkg --compare-versions 1:7.3+18 lt-nl 1:7.3+13
+ dpkg --compare-versions 1:7.3+18 lt 1:7.4
+ invoke-rc.d hal restart
+ exit 0
Reply to: