FG
💻 Software

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

Fresh5 days ago
Mar 15, 202622958 views
Confidence Score0%
0%

Problem

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 Update: Running sudo update-locale fixes the error in the log.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

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

Low Risk

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 :)

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment