Package: console-tools Version: 0.2.3dbs-61 Severity: serious Upgrade of console-tools (and therefore console-common) fails because console-screen.sh throws an error when started:
$ ./console-screen.sh start || echo "FAIL $?"
+ '[' -r /etc/console-tools/config ']'
+ . /etc/console-tools/config
++ BLANK_TIME=30
++ BLANK_DPMS=off
++ POWERDOWN_TIME=30
+ '[' -d /etc/console-tools/config.d ']'
+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ SETFONT=/usr/bin/consolechars
+ SETFONT_OPT=
+ CHARSET=/usr/bin/charset
+ VCSTIME=/usr/sbin/vcstime
++ uname -r
++ cut -f 2 -d .
+ '[' 4 = 6 ']'
+ VCSTIME_OPT=
+ '[' -d /dev/vc ']'
+ DEVICE_PREFIX=/dev/tty
+ case "$1" in
+ setup
+ '[' -x /usr/bin/consolechars ']'
+ VT=no
++ fgconsole
+ CONSOLE_TYPE=
+ return
FAIL 1
Replacing:
# If we can't access the console, quit
CONSOLE_TYPE=`fgconsole 2>/dev/null` || return
with:
# If we can't access the console, quit
CONSOLE_TYPE=`fgconsole 2>/dev/null` || return 0
may fix the problem.
Note that there are other cases as well where "|| return" is used.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: s390
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-s390
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages console-tools depends on:
pn console-common <none> (no description available)
ii debconf [debconf-2.0] 1.5.0 Debian configuration management sy
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libconsole 1:0.2.3dbs-61 Shared libraries for Linux console
ii sysvinit 2.86.ds1-14 System-V-like init utilities
Versions of packages console-tools recommends:
ii console-data 20060421 Keymaps, fonts, charset maps, fall
-- no debconf information
pgpHD3UpA6HPH.pgp
Description: PGP signature

