Why this often happens over SSH: Local SSH clients commonly forward workstation environment variables (SendEnv LANG LC_* in /etc/ssh/ssh_config). When connecting from a desktop configured with pt_BR.UTF-8 into a fresh cloud VM that only generated en_US.UTF-8, Perl and apt immediately warn about the missing locale. Generating both locales on the server (or disabling AcceptEnv LANG LC_* on test hosts) fixes the warning.
Comments are Disabled