How to fix a locale setting warning from Perl?

后端 未结 30 1630
清酒与你
清酒与你 2020-11-27 08:36

When I run perl, I get the warning:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset         


        
30条回答
  •  [愿得一人]
    2020-11-27 09:18

    If you are creating a rootfs using debootstrap you will need to generate the locales. You can do this by running:

    # (optional) enable missing locales
    sudo nano /etc/locale.gen
    
    # then regenerate
    sudo locale-gen
    

    This tip comes from, https://help.ubuntu.com/community/Xen

提交回复
热议问题