Languages

Linux / Debian - man: can't set the locale; make sure $LC_* and $LANG are correct

9 points
Asked by:
Teilsa
1345

Hi!

After one year I have decided to turn on my old server where Debian 9 (stretch) in installed.

When I run man command I get the wollowing message:

man: can't set the locale; make sure $LC_* and $LANG are correct

Any idea how to solve the problem?

1 answer
3 points
Answered by:
Teilsa
1345

You should re-generate locales in your system.

Run the command:

dpkg-reconfigure locales

Then by using arrow up, arrow down and space keys select your locales (they will be generated).

Then press enter key to confirm configuration.

Then in the next step in the same way select default locale and press enter key.

Wait until the operation is completed.

 

Selecting locales to be generated under Debian.
Selecting locales to be generated under Debian.
0 comments Add comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join