You are not logged in.

#1 2022-02-21 13:13:01

Jebusthebus
Member
Registered: 2022-02-14
Posts: 15

Missing locale files

Hi,
I've tried to generate a locale that contains both english and german but when i run locale-gen i get the errors
[error] cannot open locale definition file `de_CH': No such file or directory
for UTF-8, and
[error] character map file `ISO-8859-1' not found: No such file or directory [error] default character map file `ANSI_X3.4-1968' not found: No such file or directory
for ISO. I've looked inside /usr/share/i18n/locales/ and the files are not there. I tried reinstalling glibc but they still won't show up.

Offline

#2 2022-02-21 13:15:27

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Missing locale files

Do you have any NoExtract entries in your pacman.conf?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-02-21 13:21:10

Jebusthebus
Member
Registered: 2022-02-14
Posts: 15

Re: Missing locale files

Actually there where, are they there by default? I didn't add them. The problem was solve thank you.

Offline

#4 2022-02-21 13:24:32

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Missing locale files

No, the default pacman.conf doesn't contain any entries...
https://gitlab.archlinux.org/pacman/pac … an.conf.in

Someone must have added them. How did you install Arch?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2022-02-21 13:30:57

Jebusthebus
Member
Registered: 2022-02-14
Posts: 15

Re: Missing locale files

That's weird, I installed arch manually and didn't touch the pacman.conf except recently for a broken package. I wonder what could have done it.

Last edited by Jebusthebus (2022-02-21 13:31:14)

Offline

#6 2022-02-21 13:47:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,491
Website

Re: Missing locale files

Jebusthebus wrote:

I wonder what could have done it.

Either someone else sitting at your keyboard with root access, or - more likely - whichever "simple configuration" script you downloaded and ran as root without looking at what it does.  Such horrible ideas often have an acronym that may sound a bit like RALBS, BRALS, or ZOM or include colors in the name like BlueArch or GreyArch.

Last edited by Trilby (2022-02-21 13:52:20)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2022-02-21 14:08:42

Jebusthebus
Member
Registered: 2022-02-14
Posts: 15

Re: Missing locale files

Are any of these listed in the installation guide or the general raccomandations page? I just checked my laptop where i also installed arch a couple of years ago following the installation guide and pacman.conf didn't have any lines containing NoExtract.

Offline

#8 2022-02-21 14:23:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,044

Re: Missing locale files

Do you still have the compromised pacman.conf?

Offline

#9 2022-02-21 14:44:00

Jebusthebus
Member
Registered: 2022-02-14
Posts: 15

Re: Missing locale files

No, now everything is working fine. I'm still wandering what could have modified it. But as far as I know i did not use any configuration scripts. Thanks for the help.

Offline

#10 2022-02-21 14:45:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,044

Re: Missing locale files

The patterns in the offednding config file might show up in google.

But there're really just two options:
- you used some config script/3rd repo
- you altered the file and forgot that

Offline

#11 2022-02-21 15:02:20

Jebusthebus
Member
Registered: 2022-02-14
Posts: 15

Re: Missing locale files

I'm pretty sure I wouldn't forget something like that (or at least i would hope so), so maybe I installed a 3d party script/program that did something related to that, but i don't remember that either. Oh well, I'll try looking on my system and see if i find something. Thank you very much everyone.

Offline

Board footer

Powered by FluxBB