Bug#842324: console-setup: During apt-get dist-upgrade stage, console-setup did not finish cleanly under ja_JP.UTF-8 locale.

2016-10-27 Thread ishikawa


Package: console-setup
Version: 1.152
Severity: critical
Tags: d-i l10n
Justification: breaks the whole system

Dear Maintainer,

*** Reporter, please consider answering these questions, where 
appropriate ***


   * What led up to the situation?

 I ran "apt-get dist-upgrade" to upgrade to testing repository.
 I ran "apt-get dist-upgrade" after "su" ing to the superuser.
 I am afraid that somehow LANG=ja_JP.UTF-8 setting seeped into the
 environment.
 In that environment, during the execution of
 console-setup, "iconv" failed due to illegal or invalid character
 code or something like that. I am afraid that I failed to log the
 operation successfully and so can't recall the exact message, but
 the failure is due to "iconv", this is for sure.
 I have experienced various "iconv" issues before, and
 thus I changed LANG to LANG=C after seeing the failure and
 ran "apt-get install console-setup" again, and this time
 it succeeded and so the "apt-get dist-upgrade" as a whole 
succeeded!


 On a different PC, I set LANG=C before running apt-get 
dist-upgrade, and found that it ran successfully the first time.



* What exactly did you do (or not do) that was effective (or
 ineffective)?
 Simply ran "apt-get dist-upgrade", and found console-setup failed
 due to the failure of "iconv" that was invoked during its 
execution.

 But setting LANG=C before running apt-get was the cure to solve
 the problem.

   * What was the outcome of this action?

 Failure to run console-setup successfully.

   * What outcome did you expect instead?
 console-setup to run to completion successfully.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages console-setup depends on:
ii  console-setup-linux 1.152
ii  debconf 1.5.59
ii  keyboard-configuration  1.152
ii  xkb-data2.18-1

console-setup recommends no packages.

Versions of packages console-setup suggests:
ii  locales   2.24-5
ii  lsb-base  9.20161016

Versions of packages keyboard-configuration depends on:
ii  debconf 1.5.59
ii  liblocale-gettext-perl  1.07-3+b1

Versions of packages console-setup-linux depends on:
ii  init-system-helpers 1.45
ii  initscripts 2.88dsf-59.8
ii  kbd 2.0.3-2
ii  keyboard-configuration  1.152

console-setup-linux suggests no packages.

Versions of packages console-setup is related to:
pn  console-common
pn  console-data  
pn  console-tools 
pn  gnome-control-center  
ii  kbd   2.0.3-2
ii  systemd   231-9

-- debconf information:
* keyboard-configuration/model: A4Tech KB-21
  console-setup/store_defaults_in_debconf_db: true
* keyboard-configuration/store_defaults_in_debconf_db: true
  keyboard-configuration/unsupported_config_options: true
* keyboard-configuration/altgr: The default for the keyboard layout
* keyboard-configuration/variant: Japanese
* keyboard-configuration/switch: No temporary switch
* keyboard-configuration/compose: No compose key
  keyboard-configuration/ctrl_alt_bksp: false
  keyboard-configuration/unsupported_config_layout: true
  console-setup/codesetcode: Lat15
  console-setup/framebuffer_only:
  keyboard-configuration/unsupported_options: true
  console-setup/use_system_font:
  console-setup/codeset47: # Latin1 and Latin5 - western Europe and 
Turkic languages

* keyboard-configuration/xkb-keymap: jp
  console-setup/fontsize: 8x16
* keyboard-configuration/layout:
  console-setup/guess_font:
  console-setup/fontface47: Fixed
* console-setup/charmap47: UTF-8
* keyboard-configuration/variantcode:
* keyboard-configuration/optionscode:
  console-setup/fontsize-fb47: 8x16
  keyboard-configuration/unsupported_layout: true
  debian-installer/console-setup-udeb/title:
* keyboard-configuration/other:
* keyboard-configuration/layoutcode: jp
* keyboard-configuration/toggle: No toggling
* keyboard-configuration/modelcode: a4techKB21
  console-setup/fontsize-text47: 8x16



Bug#842324: console-setup: During apt-get dist-upgrade stage, console-setup did not finish cleanly under ja_JP.UTF-8 locale.

2016-11-02 Thread Sandro Tosi
'critical' severity seems way exaggerated, and in particular if the
error in is `iconv` that program is part of libc-bin so this bug
should be reassigned to that pkg.

I'll let the console-setup maint decide what to do of course, just
posting my quick check on this RC bug.

please CC me on replies

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi



Bug#842324: console-setup: During apt-get dist-upgrade stage, console-setup did not finish cleanly under ja_JP.UTF-8 locale.

2016-11-05 Thread Anton Zinoviev
On Wed, Nov 02, 2016 at 02:44:13PM -0400, Sandro Tosi wrote:
>
> in particular if the error in is `iconv` that program is part of 
> libc-bin so this bug should be reassigned to that pkg.

Yes, the bug belongs to libc-bin.  Unfortunately, I was unable to 
reproduce the bug on my computer, so I won't be able to provide any 
useful data to the libc-bin maintainers.  Therefore, I suppose it won't 
do any good if I reassign the bug (but I can be wrong).
 
> I'll let the console-setup maint decide what to do of course, just
> posting my quick check on this RC bug.

I've commited a change that will make console-setup use untranslated 
keyboard names in case of failed iconv.  This should fix the bug in 
console-setup.  Of course, when we have more data or something 
reproducible we can submit a bug against libc-bin.

Anton Zinoviev



Bug#842324: console-setup: During apt-get dist-upgrade stage, console-setup did not finish cleanly under ja_JP.UTF-8 locale.

2016-11-07 Thread ISHIKAWA,chiaki

On 2016/11/06 1:12, Anton Zinoviev wrote:

On Wed, Nov 02, 2016 at 02:44:13PM -0400, Sandro Tosi wrote:


in particular if the error in is `iconv` that program is part of
libc-bin so this bug should be reassigned to that pkg.


Yes, the bug belongs to libc-bin.  Unfortunately, I was unable to
reproduce the bug on my computer, so I won't be able to provide any
useful data to the libc-bin maintainers.  Therefore, I suppose it won't
do any good if I reassign the bug (but I can be wrong).


I'll let the console-setup maint decide what to do of course, just
posting my quick check on this RC bug.


I've commited a change that will make console-setup use untranslated
keyboard names in case of failed iconv.  This should fix the bug in
console-setup.  Of course, when we have more data or something
reproducible we can submit a bug against libc-bin.

Anton Zinoviev



I wish I could add more data point, but
iconv did fail on that particular PC I tested and LANG=C
cured the problem.

Let me look out if another iconv issue pops up on two PCs I use heavily.

TIA