FG
💻 Software

Why do I get "Failed to set locale, defaulting to C" when using yum?

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

Problem

Every time I run or , I get Failed to set locale, defaulting to C and then other information. How can I avoid getting this warning?

Error Output

yum install

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why do I get "Failed to set locale, defaulting to C" when using yum?

Low Risk

I put the following locale relating setting in (for all users, ): then run: or log off and log on.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment