Temporarily setting LC_ALL=C is a common idiom that effectively disables locale support, making programs work exactly as specified in the C and POSIX standards. This is often done if the output of a program is to be parsed by another program, or compared with a previous output. It prevents the formatting and sort order from being affected by the personal settings of the invoking user.
LC_ALL=C works in bookworm, and it is widely used within the system itself. See the matches for grep -r LC_ALL=C /usr/. The C locale is always supported and does not need to be "generated". Although the character encoding is not .UTF-8, in practice it will either be pure ASCII, or transparent, so it is at least compatible.
Your original error was about LC_ALL=en_GB. There might be some connection, but I do not think you have found the true cause.
LC_ALL=C works in bookworm, and it is widely used within the system itself. See the matches for grep -r LC_ALL=C /usr/. The C locale is always supported and does not need to be "generated". Although the character encoding is not .UTF-8, in practice it will either be pure ASCII, or transparent, so it is at least compatible.
Your original error was about LC_ALL=en_GB. There might be some connection, but I do not think you have found the true cause.
Statistics: Posted by jojopi — Mon May 19, 2025 9:34 am