Bug 8518

Summary: perl complains for missing locale
Product: Mageia Reporter: Tom Massimi <tmassimi>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: minor    
Priority: Normal CC: banasher336, jigkaxz, philreacher1991, wassi
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: MGA3 Beta1 LiveDVD 3beta1
Source RPM: installer CVE:
Status comment:

Description Tom Massimi 2012-12-27 12:57:24 CET
Description of problem:
When I open Konsole, I see perl complaing missing locale:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US.UTF-8:en_US:en",
        LC_ALL = (unset),
        LC_PAPER = "it_IT.UTF-8",
        LC_ADDRESS = "it_IT.UTF-8",
        LC_MONETARY = "it_IT.UTF-8",
        LC_SOURCED = "1",
        LC_NUMERIC = "it_IT.UTF-8",
        LC_TELEPHONE = "it_IT.UTF-8",
        LC_MESSAGES = "en_US.UTF-8",
        LC_IDENTIFICATION = "it_IT.UTF-8",
        LC_COLLATE = "en_US.UTF-8",
        LC_MEASUREMENT = "it_IT.UTF-8",
        LC_CTYPE = "en_US.UTF-8",
        LC_TIME = "en_US.UTF-8",
        LC_NAME = "it_IT.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

 

Version-Release number of selected component (if applicable):

MGA3Beta1 live dvd kde

How reproducible:
installing MGA3, I choose

locale=en(US) (default choise)
time fuse = Rome
keyboard=italian 

at the end of installation, 
the installer asks to remove unnecessary packages,
and I choose to remove them

when the system starts, in konsole I can see every time I hit enter or some command:


[tom@localhost ~]$ rpm -qa | grep locale
locales-2.16-3.mga3
locales-en-2.16-3.mga3
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US.UTF-8:en_US:en",
        LC_ALL = (unset),
        LC_PAPER = "it_IT.UTF-8",
        LC_ADDRESS = "it_IT.UTF-8",
        LC_MONETARY = "it_IT.UTF-8",
        LC_SOURCED = "1",
        LC_NUMERIC = "it_IT.UTF-8",
        LC_TELEPHONE = "it_IT.UTF-8",
        LC_MESSAGES = "en_US.UTF-8",
        LC_IDENTIFICATION = "it_IT.UTF-8",
        LC_COLLATE = "en_US.UTF-8",
        LC_MEASUREMENT = "it_IT.UTF-8",
        LC_CTYPE = "en_US.UTF-8",
        LC_TIME = "en_US.UTF-8",
        LC_NAME = "it_IT.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


easy to fix, 
but probably the italian locale was removed at the end of the installation
as 'unuseful package'

[root@localhost tom]# urpmi locales-it
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US.UTF-8:en_US:en",
        LC_ALL = (unset),
        LC_PAPER = "it_IT.UTF-8",
        LC_ADDRESS = "it_IT.UTF-8",
        LC_MONETARY = "it_IT.UTF-8",
        LC_SOURCED = "1",
        LC_NUMERIC = "it_IT.UTF-8",
        LC_TELEPHONE = "it_IT.UTF-8",
        LC_MESSAGES = "en_US.UTF-8",
        LC_COLLATE = "en_US.UTF-8",
        LC_IDENTIFICATION = "it_IT.UTF-8",
        LC_MEASUREMENT = "it_IT.UTF-8",
        LC_CTYPE = "en_US.UTF-8",
        LC_TIME = "en_US.UTF-8",
        LC_NAME = "it_IT.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


    http://mirrors.kernel.org/mageia/distrib/cauldron/x86_64/media/core/release/locales-it-2.16-3.mga3.x86_64.rpm
installing locales-it-2.16-3.mga3.x86_64.rpm from /var/cache/urpmi/rpms        
Preparing...                     #############################################
      1/1: locales-it            #############################################
[root@localhost tom]# 
[root@localhost tom]# 
[root@localhost tom]#
Comment 1 user7 2013-01-13 18:23:58 CET
Same problem here, I chose

locale=de(AT)
time fuse = Stockholm
keyboard=German

Installing locales-sv fixed the problem.

However, some other language-specific packages got installed (and stayed on the system) for ALL languages. E.g. I have the packages
...
mythes-nl
mythes-ga
mythes-el
mythes-nn
mythes-ca
mythes-da
... installed on my system. Same goes for autocorr-* and hyphen-*.

CC: (none) => wassi
Whiteboard: (none) => MGA3 Beta1 LiveDVD 3beta1

Comment 2 Manuel Hiebel 2013-01-18 22:41:03 CET

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

Resolution: (none) => DUPLICATE
Status: NEW => RESOLVED

Comment 3 Merry Williamson 2022-02-25 11:04:55 CET Comment hidden (spam)

CC: (none) => jigkaxz

Comment 4 Martin Daert 2022-04-21 21:20:36 CEST Comment hidden (spam)

CC: (none) => banasher336

Comment 5 Phil Reacher 2022-07-16 10:17:24 CEST Comment hidden (spam)

CC: (none) => philreacher1991

Comment 6 Phil Reacher 2022-07-16 10:17:47 CEST Comment hidden (spam)