Comment 3 for bug 1983399

Revision history for this message
Paul Eggert (eggert-cs) wrote :

> If you are setting LC_ALL in your .bashrc, you could try removing it and see if things continue to work.

Yes, that solves the --help problem, though of course it causes my locale to be wrong:

$ LC_ALL=en_US.utf8 chromium-browser --version
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
Chromium 103.0.5060.134 snap
520-day $ unset LC_ALL; chromium-browser --version
Chromium 103.0.5060.134 snap

> If you have a need to use LC_ALL, then the information I found online suggests adding the variable to /etc/environment. Can you see if that helps?

That requires root access, no? So it's not a viable solution for many users (and what, every time I install Ubuntu I have to fiddle with /etc/environment?). But anyway, it does not help to add a line 'LC_ALL="en_US.utf8"' to /etc/environment; I still get the diagnostic.