In my SSH log

  • /var/log/auth.log

I have the following error message

  • Unable to open env file: /etc/default/locale: No such file or directory

Any suggestions regarding the cause and how to fix it?

Thanks, Udo



  • sudo update-locale

fixes the error in the log.


This seems to be a bug in Ubuntu - Bug #155794 on Launchpad covers this and recommends running update-locale. You might have to look up which parameters you want to use with that :)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.