Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


locale errors with Vultr's Debian 'template'?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

locale errors with Vultr's Debian 'template'?

linuxthefishlinuxthefish Member
edited August 2014 in Help

Has anyone seen this error before with Debian on Vultr and know how to fix? Only started seeing it since a month or two ago, and not on any other KVM providers... :(

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
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

I've tried regenerating locale's as this has helped before, but no luck now!

Full output: http://pastebin.com/VeBE4hNL

Comments

  • You can generate en_US.UTF-8 using locale-gen.

  • dpkg-reconfigure locales

  • XNQXNQ Member

    I used to have that problem.. I just gave up trying to find a proper solution for it.

    But there is one "hacky way" of doing it, it's with your SSHD config.
    /etc/ssh/sshd_config

    look for this

    # Allow client to pass locale environment variables
    AcceptEnv LANG LC_*

    Comment out the second line, restart sshd and reconnect. Should be gone after that.

  • nikhil500nikhil500 Member
    edited August 2014

    On Ubuntu template of Vultr, "apt-get -y install language-pack-en" works well. Maybe it will work on Debian also.

Sign In or Register to comment.