You are not logged in.

#1 2023-08-05 14:21:55

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

[Solved] Locales difficulties to solve

Hello folks,
I got the glibc update and I saw this warning

Generating locales...
  en_US.UTF-8... done
  it_IT.UTF-8...[error] cannot open locale definition file `it_IT': No such file or directory

I searched for an answer, but my situation is not solving with same options for my locale.

ls /usr/share/i18n/locales/it*
ls: cannot access '/usr/share/i18n/locales/it*': No such file or directory

The system localization is set to

cat /etc/locale.conf 
LANG="it_IT.UTF-8"

So in order to solve the mess, how do I revert to an installation condition?

Last edited by TheSaint (2023-08-06 16:23:10)


do it good first, it will be faster than do it twice the saint wink

Offline

#2 2023-08-05 15:10:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [Solved] Locales difficulties to solve

Do you have anything in NoExtract in pacman.conf? Did you run out of disk space? Are you using bleachbit or anything to 'clean' things?

Online

#3 2023-08-05 19:58:16

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [Solved] Locales difficulties to solve

Scimmia wrote:

Do you have anything in NoExtract in pacman.conf?

I think you spotted the flaw

$ grep NoExtract /etc/pacman.conf
#NoExtract   =
NoExtract = usr/share/locale/* usr/share/X11/locale/*/* usr/share/i18n/locales/* opt/google/chrome/locales/* !usr/share/X11/locale/C/*
NoExtract = !usr/share/X11/locale/compose.dir !usr/share/X11/locale/iso8859-1/*
NoExtract = !*locale*/en*/* !usr/share/*locale*/locale.*
NoExtract = !usr/share/*locales/en_?? !usr/share/*locales/i18n* !usr/share/*locales/iso*
NoExtract = usr/share/i18n/charmaps/* !usr/share/i18n/charmaps/UTF-8.gz !usr/share/i18n/charmaps/ANSI_X3.4-1968.gz
NoExtract = !usr/share/*locales/trans*
NoExtract = !usr/share/*locales/C !usr/share/*locales/POSIX
NoExtract = usr/share/man/* !usr/share/man/man*

Would you help me to find the culprit?


do it good first, it will be faster than do it twice the saint wink

Offline

#4 2023-08-05 20:46:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,237

Re: [Solved] Locales difficulties to solve

You need to add a variation of it wherever there's an en so

!*locale*/it*/*
!usr/share/*locales/it_??

Offline

#5 2023-08-06 16:24:28

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [Solved] Locales difficulties to solve

Thank you both, the added line allows to preserve the localization of my interest.


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB