public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Toldi Balázs" <balazs@toldi.eu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Problem with locale-gen
Date: Wed, 28 Oct 2020 20:45:54 +0100	[thread overview]
Message-ID: <11624144.O9o76ZdvQC@glados> (raw)
In-Reply-To: <MMQJVCGQ.5D4B7NVZ.FWFYECYT@ZUPPZQOF.EBOAHNBE.3TERYCF3>

I've just realised that I wrote "hu_HU.ISO-8859-1" instead of "hu_HU 
ISO-8859-1". Changing it fixed the problem.

Jack a következőt írta ekkor: Wednesday, 28 October 2020 20:18:55 CET
> On 2020.10.28 14:57, Toldi Balázs wrote:
> > Hi,
> > I did a fresh install a cuple of days ago. Everything worked fine
> > unitl I
> > realised that my locale files are incorrect.
> > 
> > When I run locale-gen, I get this message:
> > locale-gen
> > 
> >  * Generating 4 locales (this might take a while) with 8 jobs
> >  * Bad entry in locale.gen: 'UTF-8 '; skipping
> 
> It may be irrelevant, but see if removing that trailing space makes a
> difference
> 
> >  *  (4/4) Generating hu_HU.UTF-8 ...
> > 
> > failed to set locale!
> > [error] character map file `C.UTF-8' not found: No such file or
> > directory
> > failed to set locale!
> > [error] cannot open locale definition file `UTF-8': No such file or
> > directory
> > [ !! ]
> > 
> >  *  (1/4) Generating en_US.ISO-8859-1 ...
> > 
> > [ ok ]
> > 
> >  *  (3/4) Generating hu_HU.ISO-8859-1 ...
> > 
> > failed to set locale!
> > [error] character map file `hu_HU.UTF-8' not found: No such file or
> > directory
> > failed to set locale!
> > [error] no output file produced because errors were issued
> > [ !! ]
> > 
> >  *  (2/4) Generating en_US.UTF-8 ...
> > 
> > [ ok ]
> > 
> >  * Generation complete
> >  * Adding locales to archive ...
> > 
> > incomplete set of locale files in "//usr/lib64/locale/UTF-8"
> > incomplete set of locale files in "//usr/lib64/locale/hu_HU.iso88591"
> > [ !! ]
> > 
> > locale -a
> > locale: Cannot set LC_CTYPE to default locale: No such file or
> > directory
> > locale: Cannot set LC_MESSAGES to default locale: No such file or
> > directory
> > locale: Cannot set LC_COLLATE to default locale: No such file or
> > directory
> > C
> > POSIX
> > en_US
> > en_US.iso88591
> > 
> > The contents of my /etc/locale.gen:
> > grep -v # /etc/locale.gen
> > hu_HU.UTF-8 UTF-8
> > hu_HU.ISO-8859-1
> > en_US.UTF-8 UTF-8
> > en_US ISO-8859-1
> > 
> > Did I miss something?
> > 
> > Thanks in advance,
> > Balázs
> 
> Since all the locale related files belong to glibc, have you tried
> reinstalling that package?






      reply	other threads:[~2020-10-28 19:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-28 18:57 [gentoo-user] Problem with locale-gen Toldi Balázs
2020-10-28 19:18 ` Jack
2020-10-28 19:45   ` Toldi Balázs [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11624144.O9o76ZdvQC@glados \
    --to=balazs@toldi.eu \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox