Debian 11 dpkg-reconfigure cloud-init 不运行图形菜单

Debian 11 dpkg-reconfigure cloud-init 不运行图形菜单

我尝试dpkg-reconfigure cloud-init在 Debian 11 上运行该命令后,该命令在终端中多次出现:

perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_TIME = "bg_BG.UTF-8",
    LC_MONETARY = "bg_BG.UTF-8",
    LC_ADDRESS = "bg_BG.UTF-8",
    LC_TELEPHONE = "bg_BG.UTF-8",
    LC_NAME = "bg_BG.UTF-8",
    LC_MEASUREMENT = "bg_BG.UTF-8",
    LC_IDENTIFICATION = "bg_BG.UTF-8",
    LC_NUMERIC = "bg_BG.UTF-8",
    LC_PAPER = "bg_BG.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").
perl: warning: Setting locale failed.

然后就什么都没有了。我的意思是,它等待写入命令:

没有配置菜单可供选择。我应该怎么做才能显示该菜单以便从中选择一些内容?

答案1

尝试locale-gen,如果不存在语言环境,这应该会生成它们。由于命令还说未设置 LC_ALL 和 LANGUAGE,请尝试export LANGUAGE=bg_BG.UTF-8设置此变量。

相关内容