我正在设置一个 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
我正在设置一个 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
您需要安装这些软件包
yum -y install glibc-locale-source glibc-langpack-en
然后重新运行 localedef 命令
在 Debian/Ubuntu 上,我能够通过apt install locales
.
以下软件包具有未满足的依赖关系: locales : Depends: glibc-2.13-1 Depends: debconf (>= 0.5) 但它不会被安装或 debconf-2.0