You are not logged in.
Pages: 1
Topic closed
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
What do `locale` and `locale -a` give you?
Online
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
So you never generated your locales.
Online
Ah, thank you. My issue is resolved.
Offline
Not to bump an old post but for those reading this in the future the solution is to set your LANG= correctly, regenerate your locales and reboot.
Offline
Not to bump an old post
Then why did you, just to repeat what the link says?
Online
Closing this old thread.
Offline
Pages: 1
Topic closed