Bug 206076

Summary: YaST2 always wants to reinstall de_DE language
Product: [openSUSE] openSUSE 10.2 Reporter: Andreas Hanke <andreas.hanke>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Stanislav Visnovsky <visnov>
Severity: Normal    
Priority: P5 - None CC: ma
Version: Alpha 4   
Target Milestone: ---   
Hardware: x86   
OS: Linux   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screen
YaST2 logfiles

Description Andreas Hanke 2006-09-15 16:31:34 UTC
YaST2 always wants to reinstall the de_DE language although it is already installed according to /var/lib/zypp/db/languages.

Accepting this does not seem to install any packages, but runs SuSEconfig anyway. After restarting YaST2 completely, the de_DE language is still marked for reinstallation.
Comment 1 Andreas Hanke 2006-09-15 16:32:39 UTC
Created attachment 98821 [details]
Screen
Comment 2 Andreas Hanke 2006-09-15 16:35:35 UTC
Created attachment 98823 [details]
YaST2 logfiles
Comment 3 Stefan Schubert 2006-09-25 12:38:20 UTC
SetLocale will be called BEFORE the pool has been filled up:

2006-09-15 18:15:18 <1> linux-lebr(3970) [ui] YUI_builtins.cc(evaluateGetLanguage):343 Stripping encoding
2006-09-15 18:15:18 <1> linux-lebr(3970) [wfm] clients/sw_single.ycp:203 Pkg Builtin called: SetLocale

In former releases target init and pool init has been one call. This has been changed now.
Jiri, why SetLocale will be call here at all ?
Comment 4 Ladislav Slezák 2006-11-09 08:41:50 UTC
Stefan, thanks for the hint!

Fixed in yast2-packager-2.14.4 - the SetLocale() call is now called after target initialization. I don't know why it is there, probably to install the UI language if it's missing.