Linux – what do I need to do with “man: can’t set the locale; make sure $LC_* and $LANG are correct”

linuxman

I typed man sudoers but got

man: can't set the locale; make sure $LC_* and $LANG are correct
No manual entry for sudoers

What does this mean?

Best Answer

Your locale isn't set. In Debian-Base you should use dpkg-reconfigure locales to set it.

Some of packages depend on locales package and its variable such as LC_* series ...!

It means $LANG is empty.