Bug 1335306 - `dnf install langpacks-da` doesn't install glibc-langpack-da
Summary: `dnf install langpacks-da` doesn't install glibc-langpack-da
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: langpacks
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-11 20:45 UTC by Christian Stadelmann
Modified: 2017-05-09 04:05 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-09 04:05:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Christian Stadelmann 2016-05-11 20:45:35 UTC
Description of problem:
glibc-langpacks are not installed in the same way as other language packs are.

Version-Release number of selected component (if applicable):
dnf-1.1.8-1.fc24.noarch
glibc-2.23.1-6.fc24.x86_64
rpm-4.13.0-0.rc1.27.fc24.x86_64
dnf-langpacks-0.15.1-4.fc24.noarch

How reproducible:
on Fedora 24 fully updated (updates-testing) installation,
on Fedora 24 Alpha build 7 live workstation instance

Steps to Reproduce:
1. run `dnf langinstall da` or `dnf langinstall xx` with any glibc locale `xx` you don't have installed yet
2. check output before confirming

Actual results:
Many langpacks get installed, including eclipse, kde, libreoffice, hypen, hunspell; but the glibc-langpack-da doesn't get installed.

Expected results:
glibc-langpack-da (or any other locale) must get installed

Additional info:
Other langpacks work fine so I guess this is an issue in the glibc spec file. I might be wrong here though.

Comment 1 Fedora Blocker Bugs Application 2016-05-11 20:49:04 UTC
Proposed as a Blocker and Freeze Exception for 24-final by Fedora user genodeftest using the blocker tracking app because:

 This bug violates section "Critical path translations" [1] of the Fedora 24 Final Release Criteria. Since nobody else complained about this yet it seems that this issue doesn't affect installation by dracut but only changes to already installed system when using the dnf langpacks plugin.

[1] https://fedoraproject.org/wiki/Fedora_24_Final_Release_Criteria#Critical_path_translations

Comment 2 Mike FABIAN 2016-05-12 06:21:30 UTC
When using "dnf install langpacks-xx", everything works fine.
(To delete packages, use "dnf remove langpacks-xx")

"dnf langinstall xx" is deprecated.

Comment 3 Mike FABIAN 2016-05-12 06:22:19 UTC
[mfabian@Fedora-Workstation-netinst-x86_6 ~]$ sudo dnf install langpacks-da
Last metadata expiration check: 0:09:38 ago on Thu May 12 08:12:18 2016.
Dependencies resolved.
================================================================================
 Package                   Arch     Version                      Repository
                                                                           Size
================================================================================
Installing:
 autocorr-da               noarch   1:5.1.3.2-2.fc24             fedora   176 k
 glibc-langpack-da         x86_64   2.23.1-5.fc24                fedora   251 k
 hyphen-da                 noarch   0.20070903-13.fc24           fedora    13 k
 kde-l10n-da               noarch   16.04.0-1.fc24               fedora    12 M
 langpacks-da              noarch   1.0-7.fc24                   fedora   8.2 k
 libreoffice-langpack-da   x86_64   1:5.1.3.2-2.fc24             fedora   6.9 M
 mythes-da                 noarch   0.20100629.15.16-10.fc24     fedora   824 k
 qt5-qttranslations        noarch   5.6.0-2.fc24                 fedora   1.4 M

Transaction Summary
================================================================================
Install  8 Packages

Total size: 22 M
Total download size: 20 M
Installed size: 63 M
Is this ok [y/N]:

Comment 4 Parag Nemade 2016-05-12 06:39:04 UTC
Please use new way of installing langpacks https://fedoraproject.org/wiki/I18N/Language_Support_Using_Dnf

I and Mike tried to debug this issue, if we are using glibc-2.23.1-5 then we can see

[parag@localhost ~]$ sudo dnf install langpacks-da
Last metadata expiration check: 0:00:57 ago on Thu May 12 11:58:59 2016.
Dependencies resolved.
================================================================================
 Package               Arch       Version                      Repository  Size
================================================================================
Installing:
 glibc-langpack-da     x86_64     2.23.1-5.fc24                fedora     251 k
 hunspell-da           noarch     1.7.42-6.fc24                fedora     336 k
 hyphen-da             noarch     0.20070903-13.fc24           fedora      13 k
 langpacks-da          noarch     1.0-7.fc24                   fedora     8.2 k
 mythes-da             noarch     0.20100629.15.16-10.fc24     fedora     824 k

Transaction Summary
================================================================================


But if you are already using glibc-2.23.1-6 then its not working now, see

[parag@f24 ~]$ sudo dnf install langpacks-da
Last metadata expiration check: 1:23:54 ago on Thu May 12 10:25:02 2016.
Dependencies resolved.
================================================================================
 Package                 Arch    Version                          Repository
                                                                           Size
================================================================================
Installing:
 calligra-l10n-da        noarch  2.9.11-2.fc24                    fedora  381 k
 eclipse-nls-da          noarch  4.5.0.v20150804081228-3.fc24     fedora  1.6 M
 hunspell-da             noarch  1.7.42-6.fc24                    fedora  336 k
 hyphen-da               noarch  0.20070903-13.fc24               fedora   13 k
 langpacks-da            noarch  1.0-7.fc24                       fedora  8.2 k
 mythes-da               noarch  0.20100629.15.16-10.fc24         fedora  824 k
 tesseract-langpack-dan  noarch  3.04.01-1.fc24                   fedora  2.3 M

Transaction Summary
================================================================================

Comment 5 Mike FABIAN 2016-05-12 06:40:56 UTC
(In reply to Mike FABIAN from comment #3)
> [mfabian@Fedora-Workstation-netinst-x86_6 ~]$ sudo dnf install langpacks-da
> Last metadata expiration check: 0:09:38 ago on Thu May 12 08:12:18 2016.
> Dependencies resolved.
> =============================================================================
> ===
>  Package                   Arch     Version                      Repository
>                                                                           
> Size
> =============================================================================
> ===
> Installing:
>  autocorr-da               noarch   1:5.1.3.2-2.fc24             fedora  
> 176 k
>  glibc-langpack-da         x86_64   2.23.1-5.fc24                fedora  
> 251 k
>  hyphen-da                 noarch   0.20070903-13.fc24           fedora   
> 13 k
>  kde-l10n-da               noarch   16.04.0-1.fc24               fedora   
> 12 M
>  langpacks-da              noarch   1.0-7.fc24                   fedora  
> 8.2 k
>  libreoffice-langpack-da   x86_64   1:5.1.3.2-2.fc24             fedora  
> 6.9 M
>  mythes-da                 noarch   0.20100629.15.16-10.fc24     fedora  
> 824 k
>  qt5-qttranslations        noarch   5.6.0-2.fc24                 fedora  
> 1.4 M
> 
> Transaction Summary
> =============================================================================
> ===
> Install  8 Packages
> 
> Total size: 22 M
> Total download size: 20 M
> Installed size: 63 M
> Is this ok [y/N]:

This was tested on Fedora-Workstation-netinst-x86_64-24_Beta-1.6.iso (The released Beta). When I update everything with "dnf update", it does not work anymore:

[mfabian@Fedora-Workstation-netinst-x86_6 ~]$ sudo dnf install langpacks-da
Last metadata expiration check: 0:27:57 ago on Thu May 12 08:12:18 2016.
Dependencies resolved.
================================================================================
 Package                 Arch   Version                   Repository       Size
================================================================================
Installing:
 autocorr-da             noarch 1:5.1.3.2-2.fc24          updates-testing 176 k
 hyphen-da               noarch 0.20070903-13.fc24        fedora           13 k
 langpacks-da            noarch 1.0-7.fc24                fedora          8.2 k
 libreoffice-langpack-da x86_64 1:5.1.3.2-2.fc24          fedora          6.9 M
 mythes-da               noarch 0.20100629.15.16-10.fc24  fedora          824 k

Transaction Summary
================================================================================
Install  5 Packages

Total download size: 7.9 M
Installed size: 32 M
Is this ok [y/N]:

Comment 6 Christian Stadelmann 2016-05-12 06:56:47 UTC
(In reply to Mike FABIAN from comment #2)
> When using "dnf install langpacks-xx", everything works fine.
> (To delete packages, use "dnf remove langpacks-xx")
> 
> "dnf langinstall xx" is deprecated.

(In reply to Parag Nemade from comment #4)
> Please use new way of installing langpacks
> https://fedoraproject.org/wiki/I18N/Language_Support_Using_Dnf
> 
> I and Mike tried to debug this issue, if we are using glibc-2.23.1-5 then we
> can see

Could you please orphan+remove the dnf-langpacks plugin then?


(In reply to Parag Nemade from comment #4)
> But if you are already using glibc-2.23.1-6 then its not working now,
> […]

That's exactly what I'm running into. Thanks for clarification.

Comment 7 Parag Nemade 2016-05-12 07:00:35 UTC
Further looking into repodata files, I found fedora repodata is correct and listing all the rpm tags but updates-testing repodata do not contain any rpm tags like supplements, recommends, suggests, enhances.

Looks like issue in repodata generation for updates-testing repo only and not related to glibc packaging.

Comment 8 Parag Nemade 2016-05-12 07:03:09 UTC
(In reply to Christian Stadelmann from comment #6)
> (In reply to Parag Nemade from comment #4)
> > Please use new way of installing langpacks
> > https://fedoraproject.org/wiki/I18N/Language_Support_Using_Dnf
> > 
> > I and Mike tried to debug this issue, if we are using glibc-2.23.1-5 then we
> > can see
> 
> Could you please orphan+remove the dnf-langpacks plugin then?
> 

I will but nothing is perfect currently related to langpacks in Fedora. Langpacks are still not working via anaconda installation. Anyways, I decided to retire it from F25+ release.

Comment 9 Carlos O'Donell 2016-05-12 13:54:53 UTC
Shall we mark this as CLOSED/NOTABUG given that the problem is not in glibc?

Comment 10 Parag Nemade 2016-05-12 14:08:02 UTC
I am just waiting for someone from #fedora-releng to provide some information on this. Definitely this is not a glibc bug but bug is there in repodata generation.

Comment 11 Carlos O'Donell 2016-05-12 14:09:56 UTC
(In reply to Parag Nemade from comment #10)
> I am just waiting for someone from #fedora-releng to provide some
> information on this. Definitely this is not a glibc bug but bug is there in
> repodata generation.

Sounds good. Please close it out once you get confirmation about the repo data issue. Thanks again for all of your help. Thanks also to Mike for reviewing the issue.

Comment 12 Parag Nemade 2016-05-12 15:19:43 UTC
I got the information that the issue is in bodhi and bodhi runs on rhel7. I will move this bug to langpacks component for further tracking.

Dropping blocker status as its not really a blocker.

Comment 13 Parag Nemade 2017-05-09 04:05:45 UTC
On Fedora 26, I see this is fixed now See
$ sudo dnf install langpacks-da
Last metadata expiration check: 1:02:01 ago on Tue May 09 08:31:38 2017 IST.
Dependencies resolved.
===============================================================================
 Package                 Arch   Version                  Repository       Size
===============================================================================
Installing:
 langpacks-da            noarch 1.0-9.fc26               fedora          7.6 k
Installing dependencies:
 autocorr-da             noarch 1:5.3.2.1-2.fc26         updates-testing 178 k
 hunspell-da             noarch 1.7.42-7.fc26            fedora          335 k
 hyphen-da               noarch 0.20070903-14.fc26       fedora           12 k
 mythes-da               noarch 0.20100629.15.16-11.fc26 fedora          823 k
Installing weak dependencies:
 glibc-langpack-da       x86_64 2.25-4.fc26              fedora          267 k
 kde-l10n-da             noarch 16.12.3-1.fc26           updates-testing  12 M
 libreoffice-langpack-da x86_64 1:5.3.2.1-2.fc26         updates-testing 7.0 M
 tesseract-langpack-dan  noarch 3.05.00-1.fc26           fedora          2.3 M

Transaction Summary
===============================================================================
Install  9 Packages

Total download size: 23 M
Installed size: 61 M
Is this ok [y/N]: 


Please reopen if needs any more fixes or file a new bug.


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