From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 998E7138359 for ; Wed, 28 Oct 2020 19:46:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6176EE0885; Wed, 28 Oct 2020 19:45:57 +0000 (UTC) Received: from mail.makk.ml (unknown [IPv6:2001:15e8:110:5471::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03C02E0837 for ; Wed, 28 Oct 2020 19:45:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toldi.eu; s=mail; t=1603914355; bh=Mt+ppVvfUKdjMJXjCSmuz1E2Wm6YsZsOiwTwv9ISzTA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=X81D3TmTapO3CNcmGcyuCSjdaUUOSdhb8P3LTfdGalxARvMceDh/TBeSkZG1gzeef wCwEHVUzRtZwLg1F8c951yelj1fC53OJNFqQr59MoUpqHSxNraER8fNdQd6bDvh4o1 Z7IyOQUhyA1N1yNQFDKIUGXR1U6ZNbr9g1yM3D/P8KhTnYUQN2J7dbhON/KnZ5pCos dO4Q1ra5py7SpSp/Jvc+baLId7MTOBmCNa29TYXZgeIdaSpElLQmBpXBz5ElSIUcnY Oxe3GJpCajTltD44+RBXKR8olwIXzYmOJYdPm2o81XjyzvO+KQ8PGUUBSd4HBaBUGw MtVM+zOGYVRtQ== From: Toldi =?ISO-8859-1?Q?Bal=E1zs?= To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Problem with locale-gen Date: Wed, 28 Oct 2020 20:45:54 +0100 Message-ID: <11624144.O9o76ZdvQC@glados> In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on BazsaVPS X-Archives-Salt: 241096b0-46aa-4c51-9f6d-0002a49916b7 X-Archives-Hash: b68797e4c2b33abb0cfc689bc3e81e69 I've just realised that I wrote "hu_HU.ISO-8859-1" instead of "hu_HU=20 ISO-8859-1". Changing it fixed the problem. Jack a k=C3=B6vetkez=C5=91t =C3=ADrta ekkor: Wednesday, 28 October 2020 20:= 18:55 CET > On 2020.10.28 14:57, Toldi Bal=C3=A1zs wrote: > > Hi, > > I did a fresh install a cuple of days ago. Everything worked fine > > unitl I > > realised that my locale files are incorrect. > >=20 > > When I run locale-gen, I get this message: > > locale-gen > >=20 > > * Generating 4 locales (this might take a while) with 8 jobs > > * Bad entry in locale.gen: 'UTF-8 '; skipping >=20 > It may be irrelevant, but see if removing that trailing space makes a > difference >=20 > > * (4/4) Generating hu_HU.UTF-8 ... > >=20 > > 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 > > [ !! ] > >=20 > > * (1/4) Generating en_US.ISO-8859-1 ... > >=20 > > [ ok ] > >=20 > > * (3/4) Generating hu_HU.ISO-8859-1 ... > >=20 > > 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 > > [ !! ] > >=20 > > * (2/4) Generating en_US.UTF-8 ... > >=20 > > [ ok ] > >=20 > > * Generation complete > > * Adding locales to archive ... > >=20 > > incomplete set of locale files in "//usr/lib64/locale/UTF-8" > > incomplete set of locale files in "//usr/lib64/locale/hu_HU.iso88591" > > [ !! ] > >=20 > > 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 > >=20 > > 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 > >=20 > > Did I miss something? > >=20 > > Thanks in advance, > > Bal=C3=A1zs >=20 > Since all the locale related files belong to glibc, have you tried > reinstalling that package?