我已经用英语安装了我的服务器,但使用的是德语键盘,它基本上可以工作。但我经常(例如 apt-get update)收到警告,我想摆脱那些:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "de_DE.UTF-8",
LC_MONETARY = "de_DE.UTF-8",
LC_ADDRESS = "de_DE.UTF-8",
LC_TELEPHONE = "de_DE.UTF-8",
LC_NAME = "de_DE.UTF-8",
LC_MEASUREMENT = "de_DE.UTF-8",
LC_IDENTIFICATION = "de_DE.UTF-8",
LC_NUMERIC = "de_DE.UTF-8",
LC_PAPER = "de_DE.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
我遇到的另一个问题是 virsh:
$ virsh dumpxml template
setlocale: No such file or directory
setlocale 命令由提供gnulib
,我可以安装它。但:
0 upgraded, 89 newly installed, 0 to remove and 0 not upgraded.
Need to get 49.8 MB of archives.
After this operation, 206 MB of additional disk space will be used.
说真的,200+MB 才能配置一个键盘?我想我在这里遗漏了一些东西......
您可以通过生成德语语言环境来解决第一个问题: