Bug#648997: marked as done (/bin/setupcon: Variable CHARMAP is defined too early)
Your message dated Thu, 17 Nov 2011 12:35:56 +0200
with message-id <20111117103556.GA2505@debian.lan>
and subject line Re: Bug#648997: /bin/setupcon: Variable CHARMAP is defined too early
has caused the Debian Bug report #648997,
regarding /bin/setupcon: Variable CHARMAP is defined too early
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
648997: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648997
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: console-setup
Version: 1.68+squeeze2
Severity: normal
From "/bin/setupcon":
if which ckbcomp-mini >/dev/null; then
CHARMAP=UTF-8
if [ "$VERBOSE_OUTPUT" = yes -a "$CHARMAP" != UTF-8 ]; then
echo Only UTF-8 is supported by console-setup-mini
fi
fi
The second if statement is always false, CHARMAP is defined too
early, should be after the second if statement:
if which ckbcomp-mini >/dev/null; then
if [ "$VERBOSE_OUTPUT" = yes -a "$CHARMAP" != UTF-8 ]; then
echo Only UTF-8 is supported by console-setup-mini
fi
CHARMAP=UTF-8
fi
-- System Information:
Debian Release: 6.0.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i586)
Kernel: Linux 2.6.32-35squeeze2
Locale: LANG=is_IS, LC_CTYPE=is_IS (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages console-setup depends on:
ii console-terminus 4.30-2 Fixed-width fonts for fast reading
ii debconf 1.5.36.1 Debian configuration management sy
ii keyboard-configuration 1.68+squeeze2 system-wide keyboard preferences
ii xkb-data 1.8-2 X Keyboard Extension (XKB) configu
Versions of packages console-setup recommends:
ii kbd 1.15.2-2 Linux console font and keytable ut
Versions of packages console-setup suggests:
ii locales 2.11.2-10 Embedded GNU C Library: National L
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
-- debconf information:
* console-setup/codeset47: # Latin1 and Latin5 - western Europe and Turkic languages
console-setup/store_defaults_in_debconf_db: true
console-setup/use_system_font:
console-setup/fontsize: 16
* console-setup/fontface47: VGA
console-setup/fontsize-text47: 16
* console-setup/charmap47: ISO-8859-1
console-setup/codesetcode: Lat15
* console-setup/fontsize-fb47: 16
-- debsums errors found:
debsums: changed file /bin/setupcon (from console-setup package)
debsums: changed file /usr/share/consoletrans/ISO-8859-1.acm.gz (from console-setup package)
--
Bjarni I. Gislason
--- End Message ---
--- Begin Message ---
Package: console-setup
Version: 1.71
On Wed, Nov 16, 2011 at 06:42:27PM +0000, Bjarni Ingi Gislason wrote:
>
> From "/bin/setupcon":
>
> if which ckbcomp-mini >/dev/null; then
> CHARMAP=UTF-8
> if [ "$VERBOSE_OUTPUT" = yes -a "$CHARMAP" != UTF-8 ]; then
> echo Only UTF-8 is supported by console-setup-mini
> fi
> fi
>
> The second if statement is always false, CHARMAP is defined too
> early, should be after the second if statement:
>
> if which ckbcomp-mini >/dev/null; then
> if [ "$VERBOSE_OUTPUT" = yes -a "$CHARMAP" != UTF-8 ]; then
> echo Only UTF-8 is supported by console-setup-mini
> fi
> CHARMAP=UTF-8
> fi
Thanks for your report. In version 1.71 setupcon has been completely
rewritten and, moreover, support for 8-bit encodings has been added to
console-setup-mini.
Anton Zinoviev
--- End Message ---
Reply to: