Using Arch.
$ localectl status
System Locale: n/a
VC Keymap: n/a
X11 Layout: n/a
Okay cool, so I just do set locale, right?
$ localectl list-locales
en_US.utf8
...cool, I'll use en_US.utf8
localectl set-locale en_US.utf8
Failed to issue method call: Invalid Locale data...
What could possibly be wrong?
localectl
command. :) In my case, it was on a CentOS 7 system. – Anthony Geoghegan Jul 10 '18 at 13:33