You are not logged in.

#1 2018-02-12 16:21:45

SploitStacks
Member
From: Virginia, USA
Registered: 2018-02-10
Posts: 23

[SOLVED]"setlocale LC_ALL: cannot change locale" issue

Hello,

I have recently been trying to install the `texlive-most` package but can't because of a warning that is continuously displayed: 

sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)"

.     I've posted in this section because I believe the issue is rooted in my /etc/locale.conf file being incorrect/incomplete rather than stemming from the package I'm trying to install. (If I am wrong, my apologies.) Currently my /etc/locale.conf file only contains this line and nothing else: 

LANG=en_US.UTF-8

      Is there something I should add or change in my locale.conf file to correct this error ? I've looked in the forums and on the arch wiki, but so far I haven't been able to find a solution, so any help would be greatly appreciated !

I have here a pastebin of the entire issue:   https://pastebin.com/nK45hTBC

If there is any other information that I can include that would be helpful, let me know and I'll get to it asap.

Last edited by SploitStacks (2018-02-12 16:52:09)

Offline

#2 2018-02-12 16:23:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,079

Re: [SOLVED]"setlocale LC_ALL: cannot change locale" issue

What do `locale` and `locale -a` give you?

Offline

#3 2018-02-12 16:26:35

SploitStacks
Member
From: Virginia, USA
Registered: 2018-02-10
Posts: 23

Re: [SOLVED]"setlocale LC_ALL: cannot change locale" issue

locale returns:

 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_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

and locale -a returns:

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

Offline

#4 2018-02-12 16:29:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,079

Re: [SOLVED]"setlocale LC_ALL: cannot change locale" issue

So you never generated your locales.

https://wiki.archlinux.org/index.php/In … ide#Locale

Offline

#5 2018-02-12 16:50:07

SploitStacks
Member
From: Virginia, USA
Registered: 2018-02-10
Posts: 23

Re: [SOLVED]"setlocale LC_ALL: cannot change locale" issue

Ah, thank you. My issue is resolved.

Offline

Board footer

Powered by FluxBB