locale support broken on upgrade to latest eglibc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
Fix Released
|
Critical
|
Matthias Klose | ||
Lucid |
Fix Released
|
Critical
|
Matthias Klose | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After a daily update, all commands on the system that use setlocale() are spitting errors and/or failing.
$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
$
ProblemType: Bug
Architecture: amd64
Date: Thu Jan 7 03:10:02 2010
DistroRelease: Ubuntu 10.04
Package: libc6 2.11~20100104-
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: eglibc
Tags: lucid
Uname: Linux 2.6.32-9-generic x86_64
Related branches
Changed in eglibc (Ubuntu Lucid): | |
status: | New → In Progress |
Changed in eglibc (Ubuntu): | |
milestone: | lucid-alpha-2 → natty-alpha-2 |
Changed in eglibc (Ubuntu): | |
status: | In Progress → Fix Committed |
Some hints on IRC led me to try 'locale-gen --purge', which corrects the problem. It appears the locales need to be regenerated from the libc6 postinst on upgrade to 2.11.