I fucking hate locales, fuck backwards compatibility, i want UTF-8 on everything *NOW*

If you’ve installed Debian or Ubuntu recently you’ve probably come accross this annoying error that spams every single fucking command you run:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_PAPER = "en_DK.UTF-8",
LC_ADDRESS = "en_DK.UTF-8",
LC_MONETARY = "en_DK.UTF-8",
LC_NUMERIC = "en_DK.UTF-8",
LC_TELEPHONE = "en_DK.UTF-8",
LC_IDENTIFICATION = "en_DK.UTF-8",
LC_MEASUREMENT = "en_DK.UTF-8",
LC_TIME = "en_DK.UTF-8",
LC_NAME = "en_DK.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Googling for a fix, you get a lot of well-meaning people telling you to run dpkg-reconfigure locales or to install a bunch of packages (I want LESS shit to be annoyed at, not MORE), but none of the fixes really work. Except one. I’m writing this post because right now I’m working on a server and I can’t find the one fucking fix that worked for me.

This is a fucking bug and it’s annoying like fuck. It’s right up there with the blinking banner ad that tells you you’re the 1 millionth winner of some shit contest you never entered.

4 comments

  1. I fucking hate this bug, just like you. But wat really grinds my gears is that when I google this fucking bug, I get a blogpost that rants about the fucking problem, but does not give the fucking solution!

    Where’s the fix dpis?

  2. I got here by Googling “locales ubuntu FUCKING EVERYTHING UP” .

    I am still quite upset.

  3. Fuck the shit out of the fucking bastard who invented this fucking locales. Can’t make it work. Only a complete reinstall helps. Ubuntu 16.04 LTS

Leave a Reply

Your email address will not be published. Required fields are marked *