Package: libc-bin Version: 2.28-10 Severity: minor File: /usr/bin/locale Dear Maintainer,
-- PROBLEM: 'locale' shows an error message ONLY about not being able to set LC_ALL when any of a number of LC_ values are wrong, instead of pointing to the offending values, as it does in other cases. This is misleading and prevents people from easily figuring out what is really the problem (missing locale, typo, ...), because it misdirects attention to LC_ALL. affected LC_s: LANG LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION (potentially LANGUAGE) -- EXPECTED: 'locale' should show an error message indicating which LC_s locale was not found, as it does with 'LC_CTYPE' and 'LC_MESSAGES'. -- REPRODUCE: for l in $(locale | cut -d '=' -f 1) ; do echo "$l" ; env ${l}="MISSING" locale > /dev/null ; echo ; done LANG locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANGUAGE LC_CTYPE locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LC_NUMERIC locale: Cannot set LC_ALL to default locale: No such file or directory LC_TIME locale: Cannot set LC_ALL to default locale: No such file or directory LC_COLLATE locale: Cannot set LC_ALL to default locale: No such file or directory LC_MONETARY locale: Cannot set LC_ALL to default locale: No such file or directory LC_MESSAGES locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LC_PAPER locale: Cannot set LC_ALL to default locale: No such file or directory LC_NAME locale: Cannot set LC_ALL to default locale: No such file or directory LC_ADDRESS locale: Cannot set LC_ALL to default locale: No such file or directory LC_TELEPHONE locale: Cannot set LC_ALL to default locale: No such file or directory LC_MEASUREMENT locale: Cannot set LC_ALL to default locale: No such file or directory LC_IDENTIFICATION locale: Cannot set LC_ALL to default locale: No such file or directory LC_ALL locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory -- System Information: Debian Release: 10.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-6-amd64 (SMP w/12 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libc-bin depends on: ii libc6 2.28-10 Versions of packages libc-bin recommends: ii manpages 4.16-2 libc-bin suggests no packages. -- no debconf information