[Bug 722739] New: No packages are installed after changing the primary language by YaST
https://bugzilla.novell.com/show_bug.cgi?id=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c0 Summary: No packages are installed after changing the primary language by YaST Classification: openSUSE Product: openSUSE 12.1 Version: Beta 1 Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ftake@geeko.jp QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Opera/9.80 (Windows NT 6.1; U; ja) Presto/2.9.168 Version/11.51 When we select the primary language in YaST's languages setting dialog, it should install packages that is related to the language. (translation files, fonts, input methods, ...) However, on openSUSE 12.1 Beta 1, YaST launches its package manager and loads repositories but it does not install any packages. Note that "zypper inr" correctly installs expected packages. Reproducible: Always Steps to Reproduce: 1. Install 12.1 Beta 1 in English 2. Start YaST and change the primary language to Japanese 3. Select OK -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c1 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |ftake@geeko.jp --- Comment #1 from Arvin Schnell <aschnell@suse.com> 2011-10-10 07:55:17 UTC --- Please provide YaST logs, see http://en.opensuse.org/openSUSE:Bugreport_YaST. -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c2 Fuminobu Takeyama <ftake@geeko.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|ftake@geeko.jp | --- Comment #2 from Fuminobu Takeyama <ftake@geeko.jp> 2011-10-10 08:29:01 UTC --- Created an attachment (id=455291) --> (http://bugzilla.novell.com/attachment.cgi?id=455291) y2logs I attached yast2 logs. -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c Gabriele Mohr <gs@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |ma@suse.com -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c3 --- Comment #3 from Fuminobu Takeyama <ftake@geeko.jp> 2011-10-23 16:52:15 UTC --- I guess this problem is caused by the specification change mentioned in bug#721810: https://bugzilla.novell.com/show_bug.cgi?id=721810 If we cannot use "install recommends", how about installing packages that provides "locale" such as "locale(ja)" and "locale(ja;ko;zh)"? -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c4 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #4 from Michael Andres <ma@suse.com> 2011-10-24 12:23:15 CEST --- It's maybe not explicitly mentioned in bug #721810, but "Ignore recommended packages for already installed packages" is an option in the YaST package manager. You can turn it on or off in the option menu at any time. Just the initial default of this setting was changed. The option should be turned on automatically whenever an update is performed. It's a known bug of the current YaST package manager, that this does not happen automatically. This will be fixed ASAP. Once it is fixed, after a language change you just need to perform an update or make sure the option is turned on. --- Installing e.g. all packages providing "locale(ja)" is possible, but not recommended because you'd install all of them, and not just the ones relevant for your system. Furthermore wouldn't "locale(ja)" match a 'ja' in "locale(ja;ko;zh)". It might be tedious to figure out the right set of commands. With zypper it would be: zypper in -C "locale(ja)" *** This bug has been marked as a duplicate of bug 721810 *** http://bugzilla.novell.com/show_bug.cgi?id=721810 -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c5 Fuminobu Takeyama <ftake@geeko.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE | --- Comment #5 from Fuminobu Takeyama <ftake@geeko.jp> 2011-11-04 16:06:46 UTC --- I installed RC2 and found that this problem has NOT been resolved yet although bnc#721810 was marked "FIXED". Now, we need consider this problem separately from bnc#721810. This is because it is complicated to install translation packages for already installed ones, fonts and so on. (Flash Player etc. can be installed easily.) How should we install these packages after installing in English (on text mode) in 12.1? If the answer is - you can install them by package manager after changing the option or - please install by "zypper inr" then *we must change the behavior of the YaST module*; it should display a message about what to do next instead of launching package manager, doing nothing and exiting. I know some people do not want to installing all of recommended package automatically like above solution. I think we have to prepare another mechanism to install essential language-specific packages for a later release (12.2?). -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c6 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ma@suse.com |jsuchome@suse.com --- Comment #6 from Michael Andres <ma@suse.com> 2011-11-07 13:23:48 CET --- (In reply to comment #5)
then *we must change the behavior of the YaST module*; it should display a message about what to do next instead of launching package manager, doing nothing and exiting.
Passing this to the maintainer of the YAST2 language module. Jiri maybe you can outline the workflow and check whether something needs to be improved. -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c7 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |ma@suse.com --- Comment #7 from Jiří Suchomel <jsuchome@suse.com> 2011-11-11 08:31:41 UTC --- Why should we change language module? I still think user should get the language packages installed, without requiring special work from him. YaST calls Pkg::SetAdditionalLocales, Pkg::PkgSolve and Pkg::PkgCommit now. Do you mean language packages (selected by SetAdditionalLocales) are treated as recommended? Isn't it wrong, when I actually explicitly ask for them? -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c8 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|ma@suse.com | --- Comment #8 from Michael Andres <ma@suse.com> 2011-11-11 13:29:34 CET --- It's basically a reverse-recommends. E.g. ispell-czech provides locale(ispell:cz). This translates into 'ispell recommends ispell-czech IFF locale(cz) is selected'. So if ispell is already installed and zypp::Resolver::ignoreAlreadyRecommended is set TRUE (which is currently the y2qt-pkg default), the ispell-czech won't be installed. It would be a good idea IMO if the language module could enforce ignoreAlreadyRecommended being set to FALSE when calling Pkg::PkgSolve. -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c9 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |lslezak@suse.com --- Comment #9 from Jiří Suchomel <jsuchome@suse.com> 2011-11-11 13:08:14 UTC --- (In reply to comment #8)
It would be a good idea IMO if the language module could enforce ignoreAlreadyRecommended being set to FALSE when calling Pkg::PkgSolve.
I agree. Ladislav, how could I do that? -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c10 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chanshun8@yahoo.com.hk --- Comment #10 from Jiří Suchomel <jsuchome@suse.com> 2011-11-11 15:08:39 UTC --- *** Bug 728388 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=728388 -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c11 Ladislav Slezak <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|lslezak@suse.com | --- Comment #11 from Ladislav Slezak <lslezak@suse.com> 2011-11-11 15:46:55 UTC --- Jiri, see PkgFunctions::SetSolverFlags() in pkg-bindings/src/Package.cc, use this: Pkg::SetSolverFlags({"ignoreAlreadyRecommended" : false}); the set is persistent (until changed by another call), then just call Pkg::PkgSolve() as usually. -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c12 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #12 from Jiří Suchomel <jsuchome@suse.com> 2011-11-14 08:45:33 UTC --- Maintenance for 12.1? -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c13 --- Comment #13 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-11-14 15:00:08 CET --- This is an autogenerated message for OBS integration: This bug (722739) was mentioned in https://build.opensuse.org/request/show/91367 Factory / yast2-country -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c14 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|maintenance@opensuse.org | --- Comment #14 from Benjamin Brunner <bbrunner@suse.com> 2011-11-15 20:06:59 CET --- Jiri could you submit your fix to openSUSE:12.1:Update:Test please? We don't need a SWAMPID for 12.1 Updates. -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c15 Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #15 from Jiří Suchomel <jsuchome@suse.com> 2011-11-16 07:11:13 UTC --- Done: #91716 -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c16 --- Comment #16 from wing shun <chanshun8@yahoo.com.hk> 2011-11-17 12:02:36 UTC --- This bug still there!openSUSE-12.1-DVD-i586.iso, KDE desktop.it like the Bug 728388.need use the zypper dup to finish the Simplified Chinese language installation. -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c17 --- Comment #17 from wing shun <chanshun8@yahoo.com.hk> 2011-11-17 12:10:13 UTC --- Created an attachment (id=462627) --> (http://bugzilla.novell.com/attachment.cgi?id=462627) After the yast install failed copy this log. -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c18 --- Comment #18 from wing shun <chanshun8@yahoo.com.hk> 2011-11-17 12:11:48 UTC --- Created an attachment (id=462628) --> (http://bugzilla.novell.com/attachment.cgi?id=462628) Use the zypper .dup -- 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=722739 https://bugzilla.novell.com/show_bug.cgi?id=722739#c19 --- Comment #19 from Jiří Suchomel <jsuchome@suse.com> 2011-11-21 07:27:35 UTC --- (In reply to comment #16)
This bug still there!
Yes, it was too late for including the fix in 12.1. We will release an update. -- 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.
participants (1)
-
bugzilla_noreply@novell.com