Bug 1220775

Summary: “dnf langavailable” lists “fil” as available but “dnf langavailable fil” then says it is not available
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: langtableAssignee: Mike FABIAN <mfabian>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: i18n-bugs, mfabian, pnemade
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: langtable-0.0.33-1.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-30 15:50:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mike FABIAN 2015-05-12 12:01:26 UTC
“dnf langavailable” without argument lists “fil” as available:

    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ sudo dnf langavailable | grep fil
    Tagalog [fil]
    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$

But checking for “fil” specifically says it is not available:

    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ sudo dnf langavailable fil
    fil is not available
    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$

Checkig for “Tagalog” instead of “fil” says it is available:

    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ sudo dnf langavailable Tagalog
    Tagalog is available
    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$

But trying to use either “fil” or “Tagalog” to install says there is nothing to install:

    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ sudo dnf langinstall fil
    Last metadata expiration check performed 2:10:12 ago on Tue May 12 11:44:39 2015.
    No langpacks to install for: fil
    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ sudo dnf langinstall Tagalog
    Last metadata expiration check performed 2:10:17 ago on Tue May 12 11:44:39 2015.
    No langpacks to install for: fil
    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$

Comment 1 Mike FABIAN 2015-05-12 12:14:44 UTC
[mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ sudo dnf langavailable | grep tl
[mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ sudo dnf langavailable tl
tl is available
[mfabian@Fedora-Live-Workstation-x86_64-2 ~]$

Comment 2 Mike FABIAN 2015-05-12 12:44:15 UTC
May be related to bug#1220783

Comment 3 Parag Nemade 2015-05-13 05:54:03 UTC
I see this with langtable-0.0.31

>>> print langtable.languageId(languageName="Tagalog")
fil

This should give correct result as "tl". I see translations for fil language is having word "Tagalog". I think something is wrong in langtable's languages.xml.gz for fil language data.

Comment 4 Fedora Update System 2015-05-13 09:01:36 UTC
langtable-0.0.33-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/langtable-0.0.33-1.fc22

Comment 5 Fedora Update System 2015-05-14 22:21:06 UTC
Package langtable-0.0.33-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing langtable-0.0.33-1.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-8212/langtable-0.0.33-1.fc22
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-05-30 15:50:20 UTC
langtable-0.0.33-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.