← 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

 

** Branch linked: lp:~ubuntu-core-dev/console-setup/ubuntu

-- 
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:
  In Progress
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