[Bug 1560577] [NEW] Confusing new locale-gen behavior

Gunnar Hjalmarsson 1560577 at bugs.launchpad.net
Tue Mar 22 16:59:12 UTC 2016


Public bug reported:

When the locales package was provided by the langpack-locales source
package, you could call locale-gen with arguments. Examples:

sudo locale-gen en_US.UTF-8
(to generate that locale only)

sudo locale-gen --purge
(to purge all existing locales and create all locales)

With the locales package provided by glibc, the equivalent to the latter
seems to be:

sudo locale-gen

What's problematic is that if you add an argument (any argument), the
existing locales seem to be purged, but nothing is generated. I'd
consider this to be a pretty serious regression, which will likely
result in locale issues for many users, if something isn't done to fix
it. I'm not sure how to best deal with the problem, though.

** Affects: glibc (Ubuntu)
     Importance: High
         Status: New


** Tags: regression-release xenial

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1560577

Title:
  Confusing new locale-gen behavior

Status in glibc package in Ubuntu:
  New

Bug description:
  When the locales package was provided by the langpack-locales source
  package, you could call locale-gen with arguments. Examples:

  sudo locale-gen en_US.UTF-8
  (to generate that locale only)

  sudo locale-gen --purge
  (to purge all existing locales and create all locales)

  With the locales package provided by glibc, the equivalent to the
  latter seems to be:

  sudo locale-gen

  What's problematic is that if you add an argument (any argument), the
  existing locales seem to be purged, but nothing is generated. I'd
  consider this to be a pretty serious regression, which will likely
  result in locale issues for many users, if something isn't done to fix
  it. I'm not sure how to best deal with the problem, though.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1560577/+subscriptions



More information about the foundations-bugs mailing list