I always got the following bug:
locale: Cannot set LC_CTYPE to default locale: No such file or directoryThe following steps fix this bug specifically for Gentoo systems. I didn't test any other systems yet.
Add to vi /etc/env.d/02locale with LC_ALL="nonsense":
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="C"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LANG="en_US.UTF-8"
LANGUAGE="en_US:de:en_US:en"
LC_ALL="nonesense"Run the following:
env-update && source /etc/profileOpen vi /etc/env.d/02locale again and change now LC_ALL="nonsense" to the following:
LC_ALL=""Re-run the following:
env-update && source /etc/profileHappy locale error free time :)