I believe I remember having this problem through multiple versions.
Edit:
Woah, found an error message!
# sudo locale-gen
Generating locales...
en_US.UTF-8.../usr/sbin/locale-gen: line 41: 929 Killed localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias $locale
/usr/sbin/locale-gen is owned by glibc 2.11.1-3
/usr/share/i18n/locales/en_US is owned by glibc 2.11.1-3
Try reinstalling/upgrading glibc.
]]>I also ran my script
#!/bin/sh
sleep 3
sudo locale-gen > lg.txt
in screen then de-attached it, which also resulted in a closed session.
I tried running just `locale-gen` in screen, but that also resulted in a closed session.
]]>You could setup a bash script, with some delay.
sleep 40
locale-gen >> check.txt
and login after 1 min and check the check.txt file for the locale-gen output command to see if everything went fine.
]]>The locales that are uncommented are `en_US.UTF-8` and `en_US`. However, this problem only occurs if en_US.UTF-8 is uncommented. There is no problem when I am only generating the `en_US` locale.
This happens whether or not I have root privileges.
Does anyone have an idea as to why this happens? Thanks for any help!
]]>