You are not logged in.
I use the btrfs file system and want to create a snapshot like this
sudo snapper -c config create --description desc
Failed to set locale. Fix your system.
my locale
$ locale
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=zh_CN.US-ASCII
LC_CTYPE=zh_CN.US-ASCII
LC_NUMERIC=zh_CN.US-ASCII
LC_TIME=zh_CN.US-ASCII
LC_COLLATE=zh_CN.US-ASCII
LC_MONETARY=zh_CN.US-ASCII
LC_MESSAGES="zh_CN.US-ASCII"
LC_PAPER="zh_CN.US-ASCII"
LC_NAME="zh_CN.US-ASCII"
LC_ADDRESS="zh_CN.US-ASCII"
LC_TELEPHONE="zh_CN.US-ASCII"
LC_MEASUREMENT=zh_CN.US-ASCII
LC_IDENTIFICATION="zh_CN.US-ASCII"
LC_ALL=
Offline
How did you set your locale? Please include exact steps.
Moving to NC...
Offline
i uncomment en_US.UTF-8 UTF-8 and zh_CN.UTF-8 UTF-8 in /etc/locale.gen
then locale-gen
Offline
How did you set your locale? Please include exact steps.
Moving to NC...
i uncomment en_US.UTF-8 UTF-8 and zh_CN.UTF-8 UTF-8 in /etc/locale.gen
then locale-gen
Offline
Offline
I set /etc/locale.conf like this
# echo 'LANG=zh_CN.UTF-8' > /etc/locale.conf
But it doesn't work
Offline
How did you install Arch?
Offline
How did you install Arch?
I installed it in the steps of Wiki
What can I do to initialize locale?
Offline
However you actually installed arch, you somehow export some LC or LANG variable to the invalid code "zh_CN.US-ASCII"
If you installed arch yourself using the wiki, you should recall how this happened. Otherwise grep your filesystem for the string.
Offline