Page 2 of 2

Re: How-to fix "Warning: No support for locale: en_US.utf"

Posted: Fri Feb 19, 2016 5:53 am
by mara
Wouldn't it be enough to generate only en_US.UTF-8 locale?

Code: Select all

sudo locale-gen --no-archive en_US.utf8

Re: How-to fix "Warning: No support for locale: en_US.utf"

Posted: Sat Feb 20, 2016 4:34 am
by boterbloem5
Worked for me, thanks :)

Re: How-to fix "Warning: No support for locale: en_US.utf"

Posted: Thu Feb 25, 2016 1:40 pm
by powerhouse
mara wrote:Wouldn't it be enough to generate only en_US.UTF-8 locale?

Code: Select all

sudo locale-gen --no-archive en_US.utf8
Probably yes, but with disk space being cheap, why bother. Besides, if you remove language packs you might break things, so I wouldn't touch that.

Re: How-to fix "Warning: No support for locale: en_US.utf"

Posted: Sat May 07, 2016 2:32 pm
by austin.texas
Just for the record:
This command: sudo locale-gen --purge --no-archive also fixes the messed up sort order in Nemo, where Capitalized names are all sorted first, before un-capitalized names, which is due to a mis-configuration of locales.

Note the location of Grub.cfg here
Image

Fixed with the locale command:
Image

Re: How-to fix "Warning: No support for locale: en_US.utf"

Posted: Mon Jun 06, 2016 10:33 am
by powerhouse
Thanks austin.texas, I didn't notice that. Good to know!

Re: How-to fix "Warning: No support for locale: en_US.utf"

Posted: Wed Dec 06, 2017 12:28 pm
by AncientBrit
December 2017 and your post is *still* relevant - thank you!

Peter :D

Re: How-to fix "Warning: No support for locale: en_US.utf"

Posted: Mon Jan 08, 2018 5:01 pm
by powerhouse
AncientBrit wrote:December 2017 and your post is *still* relevant - thank you!

Peter :D
Thanks Peter, and a Happy New Year 2018!

Re: How-to fix "Warning: No support for locale: en_US.utf"

Posted: Mon Jan 08, 2018 5:55 pm
by j8a
Hi,
I have the same after upgrade to Sylvia Cinnamon but following the instructions the reported lack of support for locale: en_US.utf8 disappeared.

Thanks in advance :lol:

Re: How-to fix "Warning: No support for locale: en_US.utf"

Posted: Sun Mar 25, 2018 4:00 am
by powerhouse
j8a wrote:
Mon Jan 08, 2018 5:55 pm
Hi,
I have the same after upgrade to Sylvia Cinnamon but following the instructions the reported lack of support for locale: en_US.utf8 disappeared.

Thanks in advance :lol:
Thanks! I had never anticipated that this "fix" would be relevant for such a long time.

Re: How-to fix "Warning: No support for locale: en_US.utf"

Posted: Mon Jul 09, 2018 10:03 am
by yekim54
Thanks, powerhouse. I just found your fix today and finally got rid of those perplexing warnings I kept getting in Linux Mint 18.3.

Re: How-to fix "Warning: No support for locale: en_US.utf"

Posted: Mon Jul 09, 2018 4:39 pm
by Flemur
martywd wrote:
Sat Sep 01, 2012 12:59 pm
I saw a 'fix' for this issue somewhere else. It didn't work for me.
Me neither; I get

Code: Select all

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
For some unknown files or directories. Handy!

I was getting incorrect sort order in thunar so set everything to "C" - then it worked:
export LANG="C"
export LC_ALL="C"
export LC_COLLATE="C"
I'd get harmless "Warning: No support for locale: en_US.utf", but one warning is better than a whole bunch of warnings or errors (it doesn't say which they are).

"locale" is more of the fine software from the good folks at freedesktop.org, destroying linux one step at a time.

Edit: fixed by copying over the original from a backup:

Code: Select all

$ ls /usr/lib/locale
C.UTF-8  locale-archive 

Re: How-to fix "Warning: No support for locale: en_US.utf"

Posted: Thu Oct 04, 2018 9:41 am
by AncientBrit
powerhouse wrote:
Mon Jan 08, 2018 5:01 pm
AncientBrit wrote:December 2017 and your post is *still* relevant - thank you!

Peter :D
Thanks Peter, and a Happy New Year 2018!
Thanks, powerhouse, and my apologies for the late response (I'm old, what can I say? :roll: ) And your post is STILL relevant today (I just employed the steps yet again). Maybe you should chisel the commands into, oh, I don't know, stone tablets, just in case they're needed two millennia from now :D

Peter