1 |
I've just realised that I wrote "hu_HU.ISO-8859-1" instead of "hu_HU |
2 |
ISO-8859-1". Changing it fixed the problem. |
3 |
|
4 |
Jack a következőt írta ekkor: Wednesday, 28 October 2020 20:18:55 CET |
5 |
> On 2020.10.28 14:57, Toldi Balázs wrote: |
6 |
> > Hi, |
7 |
> > I did a fresh install a cuple of days ago. Everything worked fine |
8 |
> > unitl I |
9 |
> > realised that my locale files are incorrect. |
10 |
> > |
11 |
> > When I run locale-gen, I get this message: |
12 |
> > locale-gen |
13 |
> > |
14 |
> > * Generating 4 locales (this might take a while) with 8 jobs |
15 |
> > * Bad entry in locale.gen: 'UTF-8 '; skipping |
16 |
> |
17 |
> It may be irrelevant, but see if removing that trailing space makes a |
18 |
> difference |
19 |
> |
20 |
> > * (4/4) Generating hu_HU.UTF-8 ... |
21 |
> > |
22 |
> > failed to set locale! |
23 |
> > [error] character map file `C.UTF-8' not found: No such file or |
24 |
> > directory |
25 |
> > failed to set locale! |
26 |
> > [error] cannot open locale definition file `UTF-8': No such file or |
27 |
> > directory |
28 |
> > [ !! ] |
29 |
> > |
30 |
> > * (1/4) Generating en_US.ISO-8859-1 ... |
31 |
> > |
32 |
> > [ ok ] |
33 |
> > |
34 |
> > * (3/4) Generating hu_HU.ISO-8859-1 ... |
35 |
> > |
36 |
> > failed to set locale! |
37 |
> > [error] character map file `hu_HU.UTF-8' not found: No such file or |
38 |
> > directory |
39 |
> > failed to set locale! |
40 |
> > [error] no output file produced because errors were issued |
41 |
> > [ !! ] |
42 |
> > |
43 |
> > * (2/4) Generating en_US.UTF-8 ... |
44 |
> > |
45 |
> > [ ok ] |
46 |
> > |
47 |
> > * Generation complete |
48 |
> > * Adding locales to archive ... |
49 |
> > |
50 |
> > incomplete set of locale files in "//usr/lib64/locale/UTF-8" |
51 |
> > incomplete set of locale files in "//usr/lib64/locale/hu_HU.iso88591" |
52 |
> > [ !! ] |
53 |
> > |
54 |
> > locale -a |
55 |
> > locale: Cannot set LC_CTYPE to default locale: No such file or |
56 |
> > directory |
57 |
> > locale: Cannot set LC_MESSAGES to default locale: No such file or |
58 |
> > directory |
59 |
> > locale: Cannot set LC_COLLATE to default locale: No such file or |
60 |
> > directory |
61 |
> > C |
62 |
> > POSIX |
63 |
> > en_US |
64 |
> > en_US.iso88591 |
65 |
> > |
66 |
> > The contents of my /etc/locale.gen: |
67 |
> > grep -v # /etc/locale.gen |
68 |
> > hu_HU.UTF-8 UTF-8 |
69 |
> > hu_HU.ISO-8859-1 |
70 |
> > en_US.UTF-8 UTF-8 |
71 |
> > en_US ISO-8859-1 |
72 |
> > |
73 |
> > Did I miss something? |
74 |
> > |
75 |
> > Thanks in advance, |
76 |
> > Balázs |
77 |
> |
78 |
> Since all the locale related files belong to glibc, have you tried |
79 |
> reinstalling that package? |