Bug 1241381 - Setting locale failed for LC_MEASUREMENT = "C.UTF-8", LC_TIME = "C.UTF-8", LANG = "en_US.UTF-8"
Summary: Setting locale failed for LC_MEASUREMENT = "C.UTF-8", LC_TIME = "C.UTF-8", LA...
Keywords:
Status: CLOSED DUPLICATE of bug 902094
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-09 06:48 UTC by Michael S. Tsirkin
Modified: 2016-11-24 12:11 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-09-16 15:19:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael S. Tsirkin 2015-07-09 06:48:43 UTC
Description of problem:
I installed Fedora 22 selected default english/us locale, but changed
units to metric and date/time format to standard.


Version-Release number of selected component (if applicable):
glibc-2.21-5.fc22.x86_64

How reproducible:
unknown

Steps to Reproduce:
1. install fedora 22 kde 64 bit version (e.g. in a vm)
2. select default locale, change units to metric
3. install. this will set up these values:
LC_MEASUREMENT = "C.UTF-8",
LC_TIME = "C.UTF-8",
LANG = "en_US.UTF-8"
4. login and run any program, for example man or perl 

Actual results:
error about incorrect LC setting is produced.
perl:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_MEASUREMENT = "C.UTF-8",
        LC_TIME = "C.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
man:
man: can't set the locale; make sure $LC_* and $LANG are correct

Expected results:
no warnings, applications use the selected locale

Additional info:
Please note LC values were setup by installer.
if the LC values are incorrect, then it's installer's fault,
please reassign there.

Comment 1 Carlos O'Donell 2015-09-16 15:19:07 UTC
There is no C.UTF-8 locale. This looks like a duplicate of bug 902094, which requests we add a C.UTF-8 locale, which we will do shortly in Rawhide.

*** This bug has been marked as a duplicate of bug 902094 ***


Note You need to log in before you can comment on or make changes to this bug.