[问题描述]: 在Anolis OS 23上执行locale -a,只有少部分可设置区域结果 [环境信息]: 机器类型:ECS [内核信息]: uname -r 6.6.25-2.1.an23.x86_64 [操作系统信息]: cat /etc/os-release NAME="Anolis OS" VERSION="23" ID="anolis" VERSION_ID="23" PLATFORM_ID="platform:an23" PRETTY_NAME="Anolis OS 23" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugzilla.openanolis.cn/" [重现步骤]: 1、在an23环境上执行locale -a命令,查看返回结果 预期结果: 1、正常返回所有区域设置名称 实际结果: locale -a 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 C.utf8 POSIX
内核为5.10.134-17.2.al8.x86_64机器执行locale -a有正常返回 uname -r 5.10.134-17.2.al8.x86_64 locale -a aa_DJ aa_DJ.iso88591 aa_DJ.utf8 aa_ER aa_ER@saaho aa_ER.utf8 aa_ER.utf8@saaho aa_ET aa_ET.utf8 af_ZA af_ZA.iso88591 af_ZA.utf8 agr_PE agr_PE.utf8 ak_GH ak_GH.utf8 am_ET am_ET.utf8 an_ES an_ES.iso885915 an_ES.utf8 anp_IN anp_IN.utf8 ar_AE ar_AE.iso88596 ar_AE.utf8