[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#992500: locales: obsolete /etc/locale.alias settings after drop of non-UTF8 locales



On 2021-08-20 09:52:59 +0200, Aurelien Jarno wrote:
> On 2021-08-19 14:22, Vincent Lefevre wrote:
> > The /etc/locale.alias contains aliases to dropped locales, such as
> > 
> > french          fr_FR.ISO-8859-1
> 
> At this stage those locales haven't been dropped from the locales
> package, they can't be chosen anymore in debconf, but they are still
> supported if they were configured, or they can still be configured
> manually by editing /etc/locales.gen. However, they have indeed been
> dropped from the locales-all package.

I don't understand what you mean. The locales-all package is
documented as containing *all* supported locales.

And with it, "french" is no longer supported:

zira:~> LC_ALL=french perl /dev/null
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "french",
        LC_TIME = "en_DK.utf8",
        LC_CTYPE = "C.UTF-8",
        LC_CHARMAP = "UTF-8",
        LC_COLLATE = "POSIX",
        LANG = "POSIX"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("POSIX").

(no warning with glibc 2.31-13 packages).

> > Such lines should be removed, or maybe better, replaced to use
> > the UTF-8 locales (such as fr_FR.utf8).
> 
> It's probably better to just remove that file, as it has been marked as
> obsolete for more than 13 years. It's probably something to coordinate
> with upstream.

Agreed.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: