debian 6 语言更改系统错误

debian 6 语言更改系统错误
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = "ru_UA.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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

我该怎么处理它?我安装的几乎每个软件包中都会出现这种情况。

答案1

您需要运行以下命令:

dpkg-reconfigure locales

选择您想要在系统上使用的语言环境(根据您的帖子,您可能希望选择 ru_UA.UTF8)。在下一个屏幕上,提供您想要使用的默认语言环境。

相关内容