help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locale error: Falling back to C locale


From: Pierre Neidhardt
Subject: Re: Locale error: Falling back to C locale
Date: Thu, 29 Mar 2018 23:15:11 +0530
User-agent: mu4e 1.0; emacs 25.3.1

Marius Bakke <address@hidden> writes:

> Pierre Neidhardt <address@hidden> writes:
>
>> Marius Bakke <address@hidden> writes:
>>
>>> Can you post the output of these commands in a terminal:
>>>
>>> $ locale
>>
>> locale: command not found
>
> Try: "$(guix build glibc)/bin/locale" instead.

Glibc was not installed, but installing it pulls 3 packages:

        > guix build glibc
        
/gnu/store/2kjscn5i1zjq2h3j0dcwfnzmc69lajz1-glibc-2.26.105-g0890d5379c-debug
        /gnu/store/9j55362h2xgndjgy45f6283spjjx5990-glibc-2.26.105-g0890d5379c
        
/gnu/store/zpy7n3jjlgnq55lhzkdixf3dvk25vhlj-glibc-2.26.105-g0890d5379c-static

Interestingly, `bin/locale` does not end up in the user PATH.

        > 
/gnu/store/9j55362h2xgndjgy45f6283spjjx5990-glibc-2.26.105-g0890d5379c/bin/locale
 
        LANG=en_US.utf8
        LC_CTYPE="en_US.utf8"
        LC_NUMERIC="en_US.utf8"
        LC_TIME="en_US.utf8"
        LC_COLLATE="en_US.utf8"
        LC_MONETARY="en_US.utf8"
        LC_MESSAGES="en_US.utf8"
        LC_PAPER="en_US.utf8"
        LC_NAME="en_US.utf8"
        LC_ADDRESS="en_US.utf8"
        LC_TELEPHONE="en_US.utf8"
        LC_MEASUREMENT="en_US.utf8"
        LC_IDENTIFICATION="en_US.utf8"
        LC_ALL=

> And then `ls -l /run/current-system/locale/2.26/`.

> ls -l /run/current-system/locale/2.26/
total 136
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 ca_ES.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 cs_CZ.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 da_DK.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 de_DE.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 el_GR.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 en_AU.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 en_CA.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 en_GB.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 en_US.UTF-8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 en_US.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 es_AR.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 es_CL.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 es_ES.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 es_MX.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 fi_FI.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 fr_BE.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 fr_CA.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 fr_CH.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 fr_FR.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 ga_IE.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 it_IT.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 ja_JP.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 ko_KR.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 nb_NO.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 nl_NL.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 pl_PL.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 pt_PT.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 ro_RO.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 ru_RU.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 sv_SE.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 tr_TR.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 uk_UA.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 vi_VN.utf8
dr-xr-xr-x   3 root           root     4096 1970-01-01  1970 zh_CN.utf8

-- 
Pierre Neidhardt

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]