[Bug 775607] New: Language packages not provided to install automatically
https://bugzilla.novell.com/show_bug.cgi?id=775607 https://bugzilla.novell.com/show_bug.cgi?id=775607#c0 Summary: Language packages not provided to install automatically Classification: openSUSE Product: openSUSE 12.2 Version: RC 2 Platform: Other OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: embar@super.lt QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20100101 Firefox/14.0.1 In installation from openSUSE 12.2 RC2 KDE LiveCD I selected to use Lithuanian language. But after installation, after connecting to internet and going to YaST2 - Online update, in amount of packages were no Lithuanian packages installed. In YaST - Language module, Lithuanian is selected as default. After opening YaST Software management, Lithuanian packages also was not suggested to install. And in Language tab of "YaST Software management" there were selected only en_US language pattern (But I don't need english related packages, I not selected it while installation - I selected Lithuanian!). Only after marking "lt" pattern in YaST Software management "Language" tab, in /var/lib/zypp/RequestedLocales appears lt, Lithuanian packages were installed Reproducible: Didn't try Steps to Reproduce: 1. While installing select Lithuanian language 2. Start YaST Software manager or Online Uptade Actual Results: Only "en_US" is marked in YaST Software management "Language" tab. Expected Results: Only "lt" is marked in YaST Software management "Language" tab. Only "lt" is in /var/lib/zypp/RequestedLocales. Automatic installation of Lithuanian related packages after opening YaST Software manager or Online Uptade -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c1
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c2
Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c3
--- Comment #3 from Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c4
--- Comment #4 from Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c
Michal Filka
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c5
Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c6
Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c7
--- Comment #7 from Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c8
--- Comment #8 from Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c9
--- Comment #9 from Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c10
--- Comment #10 from Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c11
--- Comment #11 from Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c13
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c14
Efstathios Iosifidis
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c15
Michael Andres
My guess is libzypp
Well, I see lt_LT being set as requested locale once at the beginning of the 'live-installer': 2012-08-14 15:47:17 <1> linux.site(4461) [liby2] genericfrontend.cc(main):575 Launched YaST2 component 'y2base' 'live-installer' 'qt' 2012-08-14 18:49:14 <1> linux.site(4461) [zypp::satpool] PoolImpl.cc(setRequestedLocales):434 New RequestedLocales: { lt_LT } But I see no commit which would have written the settings to disk. Instead I see the target being re-initialized to '/', which also re-reads locale settings from disk. This is where lt_LT is lost: 2012-08-14 18:49:44 <1> linux.site(4461) [zypp] TargetImpl.cc(TargetImpl):666 Initialized target on / And later a re-init to /mnt, also without re-setting lt_LT: 2012-08-14 19:22:57 <1> linux.site(4461) [zypp] TargetImpl.cc(TargetImpl):666 Initialized target on /mnt The only commit I see is done in 2012-08-14 19:33:45 <1> linux(1057) [liby2] genericfrontend.cc(main):575 Launched YaST2 component 'y2base' 'installation' '("continue")' ... but this does not set lt_LT either. In short: - (Re)set your RequestedLocales after a TargetInit or the target ones will be used. - You need to call commit to save the changes to disk. Without commit settings are lost. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c16
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c17
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c19
Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c20
Jiří Suchomel
I have Lithuanian system. I changed setting to "English (US)"; libreoffice-thesaurus-en-US package was installed additionally. Then removed kde4-l10n-lt and yast2-trans-lt.
Correct.
After that I changed setting to Lithuanian. Package manager was started, but it did not installed any package.
Seems wrong. Do you have YaST log file from this situation? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c21
Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c22
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c23
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c24
--- Comment #24 from Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c25
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c26
--- Comment #26 from Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c27
Mindaugas Baranauskas
Instead I see the target being re-initialized to '/', which also re-reads locale settings from disk. This is where lt_LT is lost:
So changing locale at boot somehow changes /var/lib/zypp/RequestedLocales content prior installation? I suggest that problems is: 1) YaST thinks, that two locales is selected (in comment#8) and not one. 2) YaST don't modify /var/lib/zypp/RequestedLocales according Language selection. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c28
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c29
Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c31
Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c32
Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c33
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c34
--- Comment #34 from Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c35
Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c36
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c37
--- Comment #37 from Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c38
Mindaugas Baranauskas
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c39
Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=775607
https://bugzilla.novell.com/show_bug.cgi?id=775607#c40
--- Comment #40 from Jiří Suchomel
participants (1)
-
bugzilla_noreply@novell.com