1 |
On Thursday 28 September 2006 16:43, Peter Humphrey wrote: |
2 |
> # egrep -v '^#|^$' /etc/locale.gen |
3 |
> en_GB |
4 |
> en_GB ISO-8859-1 |
5 |
> en_GB ISO-8859-15 |
6 |
> en_GB.UTF-8 UTF-8 |
7 |
> |
8 |
> I assume there's a typo there somewhere, but it seems to me to match the |
9 |
> examples given in /usr/share/i18n/SUPPORTED. I know the -15 variant isn't |
10 |
> supported (by what? It isn't clear), and I can remove it if necessary. |
11 |
> |
12 |
> Output from glibc postinst: |
13 |
> |
14 |
> * Generating 3 locales (this might take a while) |
15 |
> * (1/3) Generating en_GB ... |
16 |
> /usr/share/i18n/locales/en_GB:25: LC_IDENTIFICATION: unknown character in |
17 |
> field `address' |
18 |
> /usr/share/i18n/locales/en_GB:60: LC_MONETARY: unknown character in field |
19 |
> `currency_symbol' [ !! ] |
20 |
> * (2/3) Generating en_GB.ISO-8859-1 ... |
21 |
> cannot open locale definition file `ISO-8859-1': No such file or directory |
22 |
> [ !! ] |
23 |
> * (3/3) Generating en_GB.ISO-8859-15 ... |
24 |
> cannot open locale definition file `ISO-8859-15': No such file or directory |
25 |
> [ !! ] |
26 |
> * Bad entry in locale.gen: 'UTF-8 '; skipping |
27 |
> * Generation complete |
28 |
|
29 |
Obviously the error messages are less than optimal. What you need to do is |
30 |
remove the first entry (en_GB). The following three entries works for me |
31 |
(after the first is removed). Just run |
32 |
|
33 |
# locale-gen |
34 |
|
35 |
after having done that. |
36 |
|
37 |
-- |
38 |
Bo Andresen |