Page 1 of 1

Failed to set locale, defaulting to C.UTF-8

Posted: 2023 May 03, 19:44
by Mihai
Error

Code: Select all

[root@CentOS 8 ~]$ yum install git
Failed to set locale, defaulting to C.UTF-8
Solution

Code: Select all

[root@CentOS 8 ~]$ localectl set-locale LANG=en_US.UTF-8
[root@CentOS 8 ~]$ yum install -y langpacks-en glibc-all-langpacks