Bug 172223

Summary: Build 1103: Doesn't remember additional languages selected during installation
Product: [openSUSE] SUSE Linux 10.1 Reporter: Stephan Binner <stbinner>
Component: InstallationAssignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Stanislav Visnovsky <visnov>
Severity: Critical    
Priority: P5 - None CC: asklein, dmacvicar, jsuchome, schubi, suse-beta
Version: RC 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stephan Binner 2006-05-03 13:52:49 UTC
Installation of SL 10.1 Build 1103, selected German as my system language and additionally French and it installed the packages for French locale fine. But when calling the package manager in the installed system, the checkbox in the language view of YaST package manager is gone and when installing eg "koffice" no "koffice-i18n-fr" package is installed additionally.
Comment 1 Michael Gross 2006-05-03 13:56:30 UTC
Please attach the y2logs ;)
Comment 3 Michael Gross 2006-05-04 10:13:21 UTC
Jiri, kann you help here?
Comment 4 Jiří Suchomel 2006-05-04 10:48:55 UTC
No :-(, package manager of the installed system must care of the languages itself.
Comment 5 Jiří Suchomel 2006-05-04 10:50:08 UTC
Maybe Schubi can read the logs if something went wrong...
Comment 6 Stefan Schubert 2006-05-04 13:08:07 UTC
The fr language will not be stored in /var/lib/zypp/db/languages so the solver will not be informed about the these additional language after second boot.

Additional information
==========================
After the second boot the lanuage de_DE has the status I__S_:
2006-05-03 15:35:23 <1> klempnerei(4634) [solver] Resolver.cc(resolvePool):948 Pool before resolve
2006-05-03 15:35:23 <1> klempnerei(4634) [solver] Resolver.cc(show_pool):905 ---------------------------------------
2006-05-03 15:35:23 <1> klempnerei(4634) [solver] Resolver.cc(show_pool):912 1: U__s_[language]de_DE-.noarch
2006-05-03 15:35:23 <1> klempnerei(4634) [solver] Resolver.cc(show_pool):912 2: I__s_[language]de_DE-.noarch

After  "Launched YaST2 component 'y2base' 'sw_single' 'qt' '' '--fullscreen'"

the pool has:

2006-05-03 15:45:36 <1> klempnerei(13085) [solver] Resolver.cc(resolvePool):948 Pool before resolve
2006-05-03 15:45:36 <1> klempnerei(13085) [solver] Resolver.cc(show_pool):905 ---------------------------------------
2006-05-03 15:45:36 <1> klempnerei(13085) [solver] Resolver.cc(show_pool):912 1: U_Tu_[language]de_DE-.noarch
Comment 7 Stefan Schubert 2006-05-04 13:10:28 UTC
Added Duncan cause the language selection will not be stored in the DB
Comment 8 Andreas Jaeger 2006-05-15 13:26:56 UTC
Is this fixed now?
Comment 9 Andreas Klein 2006-05-17 15:34:29 UTC
Seems to be fixed in final. It least on i386 I got the us and de ispell packages.
Comment 10 Stephan Binner 2006-05-18 07:24:07 UTC
@Andreas Klein, I think you didn't understand what this report is about.

Tried SLED build 1202 and the bug is still there.
Comment 12 Michael Andres 2006-06-07 13:27:49 UTC
2006-05-18 08:50:31 Resolver.cc(show_pool):912 67: U_Tu_[language]fr-.noarch
...
2006-05-18 08:50:50 clients/inst_rpmcopy.ycp:754 Pkg Builtin called: SetLocale


Pkg::SetLocale resets the RequestedLocales to the TextLocale (de_DE). Thats why the subsequent call to commit installs just de_DE.
Comment 14 Ladislav Slezák 2006-06-08 11:06:03 UTC
SetLocale() now removes only the previous primary locale, all additional locales are left unchanged.

Fixed in SVN, the fix will be included in yast2-pkg-bindings-2.13.84
Comment 15 Ladislav Slezák 2006-07-10 14:14:59 UTC
*** Bug 158778 has been marked as a duplicate of this bug. ***