On Thursday 28 September 2006 16:43, Peter Humphrey wrote:
> # egrep -v '^#|^$' /etc/locale.gen
> en_GB
> en_GB ISO-8859-1
> en_GB ISO-8859-15
> en_GB.UTF-8 UTF-8
>
> I assume there's a typo there somewhere, but it seems to me to match the
> examples given in /usr/share/i18n/SUPPORTED. I know the -15 variant isn't
> supported (by what? It isn't clear), and I can remove it if necessary.
>
> Output from glibc postinst:
>
>  * Generating 3 locales (this might take a while)
>  *  (1/3) Generating en_GB ...
> /usr/share/i18n/locales/en_GB:25: LC_IDENTIFICATION: unknown character in
> field `address'
> /usr/share/i18n/locales/en_GB:60: LC_MONETARY: unknown character in field
> `currency_symbol'               [ !! ]
>  *  (2/3) Generating en_GB.ISO-8859-1 ...
> cannot open locale definition file `ISO-8859-1': No such file or directory
>                                 [ !! ]
>  *  (3/3) Generating en_GB.ISO-8859-15 ...
> cannot open locale definition file `ISO-8859-15': No such file or directory
>                               [ !! ]
>  * Bad entry in locale.gen: 'UTF-8 '; skipping
>  * Generation complete

Obviously the error messages are less than optimal. What you need to do is 
remove the first entry (en_GB). The following three entries works for me 
(after the first is removed). Just run

# locale-gen

after having done that.

-- 
Bo Andresen

Attachment: pgpSNEa7bOp8N.pgp
Description: PGP signature

Reply via email to