← Back to team overview

touch-packages team mailing list archive

[Bug 1484101] Re: Broken CHARMAP with LANG=C on postinst, affects all installations after 14.10

 

This bug was fixed in the package console-setup - 1.108ubuntu7

---------------
console-setup (1.108ubuntu7) wily; urgency=medium

  * Fix incorrect versioning change from last upload; initramfs-tools
    0.85eubuntu12 looks wrong but was in fact correct.
  * If the locale is C during configuration, only set CHARMAP to ISO-8859-15
    on kFreeBSD; otherwise restore the previous behaviour from before the
    kFreeBSD port of using UTF-8 in that case (LP: #1484101).

 -- Colin Watson <cjwatson@xxxxxxxxxx>  Fri, 02 Oct 2015 11:18:04 +0100

** Changed in: console-setup (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to console-setup in Ubuntu.
https://bugs.launchpad.net/bugs/1484101

Title:
  Broken CHARMAP with LANG=C on postinst, affects all installations
  after 14.10

Status in console-setup package in Ubuntu:
  Fix Released
Status in livecd-rootfs package in Ubuntu:
  Confirmed

Bug description:
  This affects all Ubuntu CDs and installations after 14.10.

  The VTs are not configured to show UTF-8 characters because of a wrong
  CHARMAP value at /etc/default/console-setup (ISO-8859-15 instead of
  UTF-8).

  The cause most probably is that recent console-setup.postinst versions
  create a different configuration file based on LANG:

  # rm /etc/default/console-setup
  # LANG=C apt-get install --reinstall console-setup
  # grep CHARMAP /etc/default/console-setup 
  CHARMAP="ISO-8859-15"

  While with C.UTF-8 (or en_US.UTF-8 or whatever) it produces the correct CHARMAP:
  # rm /etc/default/console-setup
  # LANG=en_US.UTF-8 apt-get install --reinstall console-setup
  # grep CHARMAP /etc/default/console-setup 
  CHARMAP="UTF-8"

  I think this should be fixed in console-setup, but it's possible that
  the live CD code may want to use LANG=C.UTF-8 in any case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1484101/+subscriptions


References