我正在设置一个UBI rhel8容器。我需要执行以下命令:
localedef -f UTF-8 -i en_US en_US.UTF-8
由于以下原因而失败:
character map file `UTF-8' not found: No such file or directory
cannot read character map directory `/usr/share/i18n/charmaps': No such file or directory
答案 0 :(得分:1)
您需要安装这些软件包
yum -y install glibc-locale-source glibc-langpack-en
,然后重新运行localedef命令