Fedora 32にFailed to set locale, defaulting to C.UTF-8の解決方法
エラーメッセージ
[root@localhost ~]# dnf -y install langpacks-ja
Failed to set locale, defaulting to C.UTF-8
解決対策
日本語パックをインストール
[root@localhost ~]# localectl set-locale LANG=ja_JP.UTF-8
[root@localhost ~]# source /etc/locale.conf
[root@localhost ~]# echo $LANG
ja_JP.UTF-8
サーバーを再起動
[root@localhost ~]#shutdown -r now