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: [gentoo-user] Problem with locale-gen
Date: Wed, 28 Oct 2020 19:57:09 +0100	[thread overview]
Message-ID: <2171683.ElGaqSPkdT@glados> (raw)

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
 *  (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




             reply	other threads:[~2020-10-28 18:57 UTC|newest]

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

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=2171683.ElGaqSPkdT@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