[Testing Update] 2021-02-05 - Kernels, Gnome 40-Alpha, KDE Apps 20.12.2, Systemd, Mesa, LibreOffice 7.1

Had a locale error, all locale’s where commented out, not sure why/how. Fixed it.

Details

When updating a Fresh Gnome VM to the test branch using :
sudo pacman-mirrors --api --set-branch testing && sudo pacman -Syyu

(16/31) Warn about old perl modules
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_COLLATE = "C",
	LANG = "en_US.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Solved using:
[root tip] Troubleshooting locale errors

$ locale-gen                                                                                                               
Generating locales...
Generation complete.
$ localectl                                                                                                          
   System Locale: LANG=en_US.utf8
                  LC_COLLATE=C
       VC Keymap: us
      X11 Layout: us
$ cat /etc/locale.gen | grep 'en_US'                                                                                      
#  en_US ISO-8859-1
#  en_US.UTF-8 UTF-8
#en_US.UTF-8 UTF-8  
#en_US ISO-8859-1 
$ sudo sed -i '/en_US.UTF-8/s/^#//g' /etc/locale.gen              
sudo locale-gen                                                                                                             
Generating locales...
  en_US.UTF-8... done
  en_US.UTF-8... done
Generation complete.

Does this config need updating to?

$ cat /etc/locale.conf                                                                                                      
LANG=en_US.utf8
LC_COLLATE=C
4 Likes