安装 noip-duc时提示:perl: warning: Setting locale failed.

在树莓派4上安装noip-duc_3.3.0_arm64.deb时的提示:

Get:1 /home/peter/noip-duc_3.3.0/binaries/noip-duc_3.3.0_arm64.deb noip-duc arm64 3.3.0 [1109 kB]
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = "zh_CN.UTF-8",
	LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
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
Selecting previously unselected package noip-duc.

我的问题是:

  1. 这个东西如果不处理的话,会影响哪些东西?
  2. 处理的话,要怎么处理?

会影响很多东西。
dpkg-reconfigure locales 然后把你要用的启用了。

1 个赞

明白了。