Ubuntu 23.10: perl: warning: Setting locale failed

I faced next error when I start some console applications, for example Asbru: perl: warning: Setting locale failed, it was really annoying but I found how to fix it..

In my case full error looked like

Previously I already faced with something similar and fixed it by regenerating locales with the next command

But this time re-configuration didn’t help.

As you can see in the error LANGUAGE and LC_ALL were not set and it was the main reason of the problem. I resolved this by adding this settings to /etc/environment file

After this the problem was resolved.

You May Also Like

About the Author: vo