What you proposed, solved the error. Hm, then there is another bug, because when I list:
locale-a it litst en_US.utf8 instead of en_US.UTF-8 for example full output: root@server:~# locale -a C C.UTF-8 POSIX en_AG en_AG.utf8 en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8 en_GB.utf8 en_HK.utf8 en_IE.utf8 en_IN en_IN.utf8 en_NG en_NG.utf8 en_NZ.utf8 en_PH.utf8 en_SG.utf8 en_US.utf8 en_ZA.utf8 en_ZM en_ZM.utf8 en_ZW.utf8 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1639777 Title: locale settings from /etc/environment or /etc/default/locale not picked up To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1639777/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs