locale problem with mosh
I can install mosh both on system and container.
Problem is when I try to run it I get:
######################
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "en_US.utf-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "en_US.utf-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
The locale requested by LC_ALL=en_US.utf-8 isn't available here.
Running `locale-gen en_US.utf-8' may be necessary.
mosh-client needs a UTF-8 native locale to run.
Unfortunately, the client's environment (LC_ALL=en_US.utf-8) specifies
the character set "US-ASCII".
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)
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
###################
"locale-gen" produce:
######################
Generating locales...
en_US.UTF-8...cannot create temporary file: /usr/lib/locale/locale-archive.lAjdp1: Read-only file system
#######################
2 Replies
https://git.blendos.co/asterisk/blendos-mutifier
(If anyone wants to contribute then I'll move this to Github)
- To use
mutifier, run sudo system install gum beforehand.
- mutify-cli requires no extra dependencies and is used as such:
mutify-cli <mount-point> [other-mount-point], ex. mutify-cli /usr/@duiweboer