Description of problem:
1. dnf install glibc-all-langpacks
2. locale -a|grep mr
1. dnf remove glibc-all-langpacks, dnf install glibc-langpack-mr
locale -a|grep mr
I am not sure about usage of mr_IN.utf8, but this is more issue from backward compatibility side.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install glibc-langpack-mr
2. locale -a|grep mr
As a backward compatibility, It should list both
It its redundant and no use, feel free to close as NOTABUG :)
The only supported locale is mr_IN, and it is always UTF-8.
Therefore mr_IN and mr_IN.utf8 are identical.
I agree that we should have exactly the same locales in both cases.
There appears to be a slight difference in the locale-archive versus locale files cases and we need to track that down.
Mike, Any ideas?
To be clear we should either have:
(a) Both mr_IN and mr_IN.utf8 with locale-archive and without.
(b) Only mr_IN with locale-archive adn without.
A consistent set of visible locales for both cases outlined in comment #0.
When the archive is created, mr_IN.utf8 is added as a sort of alias for mr_IN.
One can get the same effect for the folder by using symbolic links.
[mfabian@Fedora-Workstation-netinst-x86_6 ~]$ cd /usr/lib/locale/
[mfabian@Fedora-Workstation-netinst-x86_6 locale]$ sudo ln -s mr_IN mr_IN.utf-8[sudo] mfabian のパスワード:
[mfabian@Fedora-Workstation-netinst-x86_6 locale]$ locale -a | grep ^mr
I could improve the glibc.spec to package such symlinks for all cases
where this makes a difference.
Another option would be to edit the SUPPORTED file.
For example, for German it contains:
For the lines which do not have an encoding before the /, in this case
for example, locale-archive will contain 2 entries,
de_DE *and* de_DE.iso88591 which is then listed by "locale -a".
But when the folders are used, only the de_DE folder exists.
So either create such symbolic links for all lines in SUPPORTED which do
not have an encoding before / (a little bit of scripting and macros ...),
*or* edit SUPPORTED to *always* have an encoding before /, i.e.
In the latter case, locale archive would list only de_DE.iso88591
and the folder created would be /usr/lib/locale/de_DE.iso88591 so in case
of the folders "locale -a" would list the same.
But in the latter case, the "locale -a" list would be a bit shorter then it used to be because the duplicates would be missing in the list.
Would that cause backward compatibility problems?
If we want the same list as it always was, we could create the symbolic links
to list the duplicates in the folder case as well.
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
glibc-2.25.90-27.fc27.x86_64 is still inconsistent.
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.
The real solution here is to create the symlinks in /usr/lib/locale that match exactly what the locale-archive is displaying.
Mike, if you get a chance, please feel free to go in that direction to fix this difference between langpacks and locale-archive.