← 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

 

> 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.

...I put livecd-rootfs in the affects list, please use LANG=en_US.UTF-8
instead of LANG=C and LC_ALL=C.

$ egrep -r 'LANG=|LC_ALL=' .
./debian/changelog:  * Minor cleanups to BuildLiveCD (LANG=C, bump current suite)
./BuildLiveCD:LANG=C       <===== this one
./live-build/auto/build:export LC_ALL=C     <====== and this one
./live-build/ubuntu-touch/includes.chroot/etc/default/locale:LANG="en_US.UTF-8"
./live-build/ubuntu-touch/hooks/48-setup-env.chroot:LANG=en_US.UTF-8


** Also affects: livecd-rootfs (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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:
  New
Status in livecd-rootfs package in Ubuntu:
  New

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