Gentoo Archives: gentoo-user

From: "Toldi Balázs" <balazs@×××××.eu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Problem with locale-gen
Date: Wed, 28 Oct 2020 18:57:48
Message-Id: 2171683.ElGaqSPkdT@glados
1 Hi,
2 I did a fresh install a cuple of days ago. Everything worked fine unitl I
3 realised that my locale files are incorrect.
4
5 When I run locale-gen, I get this message:
6 locale-gen
7 * Generating 4 locales (this might take a while) with 8 jobs
8 * Bad entry in locale.gen: 'UTF-8 '; skipping
9 * (4/4) Generating hu_HU.UTF-8 ...
10 failed to set locale!
11 [error] character map file `C.UTF-8' not found: No such file or directory
12 failed to set locale!
13 [error] cannot open locale definition file `UTF-8': No such file or directory
14 [ !! ]
15 * (1/4) Generating en_US.ISO-8859-1 ...
16 [ ok ]
17 * (3/4) Generating hu_HU.ISO-8859-1 ...
18 failed to set locale!
19 [error] character map file `hu_HU.UTF-8' not found: No such file or directory
20 failed to set locale!
21 [error] no output file produced because errors were issued
22 [ !! ]
23 * (2/4) Generating en_US.UTF-8 ...
24 [ ok ]
25 * Generation complete
26 * Adding locales to archive ...
27 incomplete set of locale files in "//usr/lib64/locale/UTF-8"
28 incomplete set of locale files in "//usr/lib64/locale/hu_HU.iso88591"
29 [ !! ]
30
31 locale -a
32 locale: Cannot set LC_CTYPE to default locale: No such file or directory
33 locale: Cannot set LC_MESSAGES to default locale: No such file or directory
34 locale: Cannot set LC_COLLATE to default locale: No such file or directory
35 C
36 POSIX
37 en_US
38 en_US.iso88591
39
40 The contents of my /etc/locale.gen:
41 grep -v # /etc/locale.gen
42 hu_HU.UTF-8 UTF-8
43 hu_HU.ISO-8859-1
44 en_US.UTF-8 UTF-8
45 en_US ISO-8859-1
46
47 Did I miss something?
48
49 Thanks in advance,
50 Balázs

Replies

Subject Author
Re: [gentoo-user] Problem with locale-gen Jack <ostroffjh@×××××××××××××××××.net>