Last active
July 24, 2021 11:15
-
-
Save shrekuu/cfecfcb1cd8adba53133b47926ea63a1 to your computer and use it in GitHub Desktop.
fixed: manpath: can't set the locale; make sure $LC_* and $LANG are correct
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I know you've got stuck for too long ^_^Y | |
# Locale is not configured correct. I don't know what broke that. Maybe time did. | |
# I fixed it on my ubuntu 14 & 16 servers. | |
# Follow the steps below or run this script on your machine. | |
# step 1 | |
# ensure this line in `/etc/default/locale` file and `/etc/environment` file | |
# LANG="en_US.UTF-8" | |
sudo echo '\nLANG="en_US.UTF-8"' >> /etc/default/locale && /etc/environment | |
# step 2 | |
sudo locale-gen en_US en_US.UTF-8 && sudo dpkg-reconfigure locales |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment