Bug 5708 - Firefox requires locales-en AND do not install user lang despite system localisation
Summary: Firefox requires locales-en AND do not install user lang despite system local...
Status: RESOLVED DUPLICATE of bug 2733
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: D Morgan
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2012-05-01 15:05 CEST by Morgan Leijström
Modified: 2012-06-16 00:22 CEST (History)
0 users

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


Attachments
/root/drakx/report.bug.gz (128.09 KB, application/x-gzip)
2012-05-01 23:28 CEST, Morgan Leijström
Details

Description Morgan Leijström 2012-05-01 15:05:23 CEST
Steps to Reproduce:
1. Minimal install, LXDE (No gnome, KDE, Office, Internet...)
2. During install choose Swedish, Sweden
(also verified after login: mcc>system>localisaion, and logout, login)
3. try install firefox;

It then as dependency pull locales-en, hunspell-en and dependencies.
AND it do NOT pull any -sv.

If i instead of simply firefox request firefox-sv_SE it correctly pull forefox, hunspell-sv, and other but still also want to install locales-en and hunspell-en too !
Comment 1 Manuel Hiebel 2012-05-01 22:04:22 CEST
please add the  file /root/drakx/report.bug.gz and urpmi --debug 'your pkg'

not sure but can be like this strange bug, https://bugs.mageia.org/show_bug.cgi?id=5404

Keywords: (none) => NEEDINFO

Comment 2 Morgan Leijström 2012-05-01 23:28:08 CEST
Created attachment 2155 [details]
/root/drakx/report.bug.gz
Comment 3 Morgan Leijström 2012-05-01 23:31:34 CEST
Status: firefox installed as per above 

# urpmi --debug firefox
getting lock on urpmi
parsing: /etc/urpmi/mediacfg.d/Devel-1-i586
undersöker synthesis-fil [/var/lib/urpmi/synthesis.hdlist.Core Release.cz]
undersöker synthesis-fil [/var/lib/urpmi/synthesis.hdlist.Core Updates.cz]
undersöker synthesis-fil [/var/lib/urpmi/synthesis.hdlist.Nonfree Release.cz]
undersöker synthesis-fil [/var/lib/urpmi/synthesis.hdlist.Nonfree Updates.cz]
getting exclusive lock on rpm
search_packages: found firefox-10.0.4-1.mga2.i586 matching firefox
found package(s): firefox-10.0.4-1.mga2.i586
opening rpmdb (root=, write=)
not selecting firefox-10.0.4-1.mga2.i586 since the more recent firefox-10.0.4-1.mga2.i586 is installed
Paket firefox-10.0.4-1.mga2.i586 är redan installerat <- ="Already installed"
firefox is not in potential orphans
scheduled sets of transactions:
unlocking urpmi database
unlocking rpm database
EXITING (pid=4015)
Comment 4 Morgan Leijström 2012-05-01 23:42:25 CEST
Experiment 1 
I uninstalled locales.en, and it also removed hunspell-en but not firefox, good!

Experiment 2
If i select libreoffice it wants both swedish and english hunspell and hyphen, plus locales-en

So problem is probably not in firefox package, but in urpmi?
Comment 5 Morgan Leijström 2012-05-01 23:46:59 CEST
Scrap last line;
I think there may be a problem with firefox in that it do not automatically select language for preferred locale, like the libreoffice package does.

Then why they both want locales-en is probably urpmi fault?
Comment 6 Manuel Hiebel 2012-05-02 00:32:02 CEST
the debug in comment 3 should have been without firefox installed also please use LC_ALL=C as a prefix so we have the log in english.

Keywords: NEEDINFO => (none)
Assignee: bugsquad => dmorganec
Summary: Firefox requires locales-en AND do not install swedish lang despite system localisation => Firefox requires locales-en AND do not install user lang despite system localisation
Source RPM: firefox package, or rpm thingys? => firefox

Comment 7 Morgan Leijström 2012-05-02 00:54:31 CEST
OK :)

# LC_ALL=C urpmi --debug firefox
getting lock on urpmi
parsing: /etc/urpmi/mediacfg.d/Devel-1-i586
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Core Release.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Core Updates.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Nonfree Release.cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Nonfree Updates.cz]
getting exclusive lock on rpm
search_packages: found firefox-10.0.4-1.mga2.i586 matching firefox
found package(s): firefox-10.0.4-1.mga2.i586
opening rpmdb (root=, write=)
selecting firefox-10.0.4-1.mga2.i586
requiring indexhtml,mailcap for firefox-10.0.4-1.mga2.i586
selecting mailcap-2.0.4-27.mga2.noarch
selecting indexhtml-1-7.mga2.noarch
requested hunspell-en suggested by firefox-10.0.4-1.mga2.i586
selecting hunspell-en-0.20110318.1-5.mga2.noarch
requiring locales-en for hunspell-en-0.20110318.1-5.mga2.noarch
selecting locales-en-2.14.1-3.mga2.i586
firefox is not in potential orphans
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  firefox                        10.0.4       1.mga2        i586    
  hunspell-en                    0.20110318.1 5.mga2        noarch  (suggested)
  indexhtml                      1            7.mga2        noarch  
  locales-en                     2.14.1       3.mga2        i586    (suggested)
  mailcap                        2.0.4        27.mga2       noarch  
37MB of additional disk space will be used.
14MB of packages will be retrieved.
Proceed with the installation of the 5 packages? (Y/n)
Comment 8 Morgan Leijström 2012-05-06 11:49:40 CEST
Side effect: Bug 5770  ?
Comment 9 Manuel Hiebel 2012-05-06 12:01:32 CEST
nop your new bug is a same as this one, in the spec of firefox we can see:

126 	Suggests: hunspell-en

since rpmdrake install the suggested rpm it seems pulled

and hunspell-** require locales-**
Comment 10 Marja Van Waes 2012-05-26 13:10:03 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 11 Manuel Hiebel 2012-06-16 00:22:25 CEST
duplicate in fact

*** This bug has been marked as a duplicate of bug 2733 ***

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


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