Bug 18810 - Let rpmdrake give a choice of localised packages if more than one locales-* are installed, instead of just picking the alphabetically first localised package
Summary: Let rpmdrake give a choice of localised packages if more than one locales-* a...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: 6sta1
: 20469 20501 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-28 10:30 CEST by Ben McMonagle
Modified: 2019-02-04 23:39 CET (History)
4 users (show)

See Also:
Source RPM: rpmdrake
CVE:
Status comment:


Attachments

Description Ben McMonagle 2016-06-28 10:30:11 CEST
Description of problem: when attempting to install thunderbird 45.1.1-1.mga6.noarch via MCC, a requires dependency is reported: thunderbird-ar-45.1.1-1.mga6.noarch.

(choosing my preferred language interface first allows only the two required thunderbird packages to be installed.) 

When attempting the install from terminal, urpmi thunderbird, reports: 
In order to satisfy the 'thunderbird-l10n' dependency, one of the following packages is needed: 
(options 1-50 presented, what is your choice?)

there is an inconsistancy between MCC and urpmi that should be aligned.

Version-Release number of selected component (if applicable):
ageia-6-sta1-LiveDVD-GNOME-x86_64-DVD.iso
DATE.txt: Mon Jun 27 15:00:00 CEST 2016


How reproducible:


Steps to Reproduce:
1.boot to live desktop of above .iso
2.enable online media including core, non-free and tainted
3.launch rpmdrake, change "packages with GUI" to "all", Search for "thunderbird
4.choose thunderbird from list presented. a popup advising thunderbird-ar dependency. close rpm drake.
5.run "urpmi thunderbird" as root in a terminal
6. note the 50 -l10n options presented
Ben McMonagle 2016-06-28 11:58:06 CEST

Keywords: (none) => 6sta1

Comment 1 Marja Van Waes 2016-06-29 14:27:29 CEST
This isn't a thunderbird issue,  but a drakrpm problem: you get the same for the localised sounds package when installing gcompris.

The same problem exist for dnf, see bug 18315

CC: (none) => marja11
Assignee: bugsquad => thierry.vignaud
Summary: [6sta1] thunderbird dependency discrepancy between rpmdrake and urpmi => Let rpmdrake give a choice of localised packages if more than one locales-* are installed, instead of just picking the one for the alphabetically first locales-*
Source RPM: thunderbird 45.1.1-1.mga6.noarch => rpmdrake
Severity: normal => enhancement

Thierry Vignaud 2016-06-29 15:24:24 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=18315

Comment 2 Ben McMonagle 2016-07-18 11:24:30 CEST
getting better.

(I selected:language:New Zealand English, Locale:New Zealand at installation)

rpmdrake: 
choosing to install thunderbird only advises dependency "british english"

urpmi:

[root@localhost ~]# urpmi thunderbird
In order to satisfy the 'thunderbird-l10n' dependency, one of the following packages is needed:
 1- thunderbird-en_GB-45.2.0-1.mga6.noarch: British English interface for Thunderbird (to install)
 2- thunderbird-en_US-45.2.0-1.mga6.noarch: English (United States) interface for Thunderbird (to install)
What is your choice? (1-2)
Comment 3 Ben McMonagle 2016-07-18 11:34:29 CEST
but good enough

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

Comment 4 Marja Van Waes 2016-07-18 12:02:25 CEST
Reopening, this bug isn't about urpmi, it has never been a problem there.

Besides, as just also shown in comment #3, rpmdrake still selects the alphabetically first ;-)

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 5 Marja Van Waes 2016-07-18 17:39:57 CEST
However, Ben, I should have asked you for the output of 

   rpm -qa | grep locales | sort


instead of just assuming that this time, you only have locales-en (and locales itself, of course) installed now.

Here, I still get 

 To satisfy dependencies, the following package(s) also need to be installed:

- gcompris-boards-15.10-2.mga6.noarch
- gcompris-sounds-ar-15.10-2.mga6.noarch

156MB of additional disk space will be used.

So no choice, despite 10 different locales-*-2.22-5.mga6 being installed.

Summary: Let rpmdrake give a choice of localised packages if more than one locales-* are installed, instead of just picking the one for the alphabetically first locales-* => Let rpmdrake give a choice of localised packages if more than one locales-* are installed, instead of just picking the alphabetically first localised package

Comment 6 Ben McMonagle 2016-07-19 11:28:44 CEST
(In reply to Marja van Waes from comment #5)
> However, Ben, I should have asked you for the output of 
> 
no problem, (I can do this this)

>    rpm -qa | grep locales | sort
> 
> 
@localhost ~]$ rpm -qa | grep locales | sort
locales-2.22-5.mga6
locales-en-2.22-5.mga6
Comment 7 Neal Gompa 2016-12-18 05:58:10 CET
This can be resolved as we move from rpmdrake to dnfdragora[1] and implement the solution described in bug 19974. However, I don't think we can fix it in this manner for Mageia 6, though we definitely can for Mageia 7.

[1]: https://github.com/anaselli/dnfdragora

CC: (none) => ngompa13
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=19974

Comment 8 Thomas Andrews 2017-03-17 01:26:48 CET
*** Bug 20501 has been marked as a duplicate of this bug. ***

CC: (none) => andrewsfarm

Comment 9 Marja Van Waes 2017-03-22 12:23:25 CET
*** Bug 20469 has been marked as a duplicate of this bug. ***

CC: (none) => yleny

Comment 10 Ben McMonagle 2019-02-04 23:39:30 CET
no new comments for +12 months

reopen if needed

Resolution: (none) => FIXED
Status: REOPENED => RESOLVED


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