Fwd: Howto fix "setting locale failed"

Colin Watson cjwatson at canonical.com
Sun Jan 16 09:37:55 CST 2005


On Sun, Jan 16, 2005 at 09:26:02AM -0500, Eric Dunbar wrote:
> When I upgraded from Warty to Hoary (mid-late November IIRC) I
> upgraded using upgrade-distro (or was that distro-upgrade) and set the
> language before I upgraded (wiki:
> <http://www.ubuntulinux.org/wiki/GuideToHoary>).
> 
> Anyway, since then I've always gotten "setting locale failed" errors
> with LANGUAGE, LC_ALL, LANG variables as shown in the FWD part of this
> message. The problem was that the package "locales" was not installed
> under Hoary. Is this an oversight in the Warty->Hoary upgrade "path"
> that was in use in November or is this something that still could go
> wrong if you do things in the order I did them?

It seems unlikely. locales should always be installed; it's part of our
base system, and was part of the base system in Warty as well. My best
guess is that there was a temporary glitch at the point when you
upgraded that caused locales to be removed, and you didn't notice at the
point of the upgrade.

Cheers,

-- 
Colin Watson                                    [cjwatson at canonical.com]



More information about the ubuntu-devel mailing list