Bug 957528

Summary: YaST country does not install all the needed packages if no-recommends is used
Product: [openSUSE] openSUSE Distribution Reporter: Mindaugas Baranauskas <opensuse.lietuviu.kalba>
Component: YaST2Assignee: YaST Team <yast-internal>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: ancor, sb56637
Version: Leap 42.1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://trello.com/c/RbvsFvpp
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Mindaugas Baranauskas 2015-12-02 10:45:24 UTC
Please add option to install only language related packages (even if general option to install recommended packages is dissabled).
See discussion: http://lists.opensuse.org/opensuse-translation/2015-11/msg00076.html
Comment 1 Ancor Gonzalez Sosa 2015-12-02 11:24:18 UTC
I have adjusted the title of the bug. Tell me if I got it wrong.

If I understood correctly, the problem is that going to YaST -> Language and selecting some languages does not install all the expected packages if you have your system configured to not install recommends. Is that right?

From your original title and text, I understood you wanted a new option in YaST software manager, which is not the case.
Comment 2 Mindaugas Baranauskas 2015-12-02 11:30:31 UTC
"YaST -> Language" seems to work for new languages.
I prefer way to install all recommended appropriate language packages via Software Manager.
Comment 3 Ancor Gonzalez Sosa 2015-12-02 11:32:37 UTC
Oh, wait. Reading https://bugzilla.suse.com/show_bug.cgi?id=957526 it looks like you were actually referring to the software manager.

But the option is there, just not working as expected. But that misbehavior is already covered by the mentioned bug#957526. So I'm not sure about this one (duplicate?).
Comment 4 Mindaugas Baranauskas 2015-12-02 11:42:10 UTC
As described in http://lists.opensuse.org/opensuse-translation/2015-11/msg00076.html , even YaST > Language don't install appropriate *-lang packages.

Maybe it could be even 3:
1) installing *-lang via YaST > Language
2) complete language packages list in Software Manager
3) Software Manager option to install install recommended packages.

If mechanism to show list in Software Manager (2) would work, then (3) will not be so important (you can just manually open that list and select to install all packages). If mechanism for (1) and (2) is same, then YES, it is dublicate (as view from 2); but then please convert this bug to (3).
Comment 5 Mindaugas Baranauskas 2015-12-02 11:46:14 UTC
3) Software Manager option to install recommended language packages.
Comment 6 Ancor Gonzalez Sosa 2015-12-02 12:02:38 UTC
Ok. Understood. Then let's keep this for (1) and bug#957526 for (2).

Just curious (kind of off-topic), what's the result for you if your do?

1) Yast -> software manager
2 languages -> select any
3) extra -> install all matching recommended packages

I guess you get a huge selection of unrelated packages.
Comment 7 Mindaugas Baranauskas 2015-12-02 12:29:09 UTC
After 1) + 2), few new [lets say French] language packages marked to install (*-fr* and Mozilla*-translations-common ).
After 3), very large amount of packages marked to install.

P.S. (maybe off topic): KDE Plasma 5, KDE Frameworks localization files exist not like others in /usr/share/locale/*/LC_MESSAGES/ , but in /usr/share/locale/kf5/*/LC_MESSAGES/
Comment 8 Ancor Gonzalez Sosa 2015-12-02 14:22:54 UTC
Added to YaST Team's scrum queue, for it to be prioritized.
Comment 9 S. B. 2015-12-04 03:22:32 UTC
Thanks a lot for giving some thought to this important issue.

It seems to me that the recommends system isn't the appropriate tool to install language packages. But at any rate it seems it would require some kind of regular expression search to install all of the *-lang packages for installed packages that have them, with certain exceptions for things like LibreOffice and Mozilla apps.

And I agree that it is important to have a YAST option for doing this from the command line (ncurses interface) or the GUI.

Thanks again for taking a look at this issue!
Comment 10 S. B. 2015-12-04 03:27:37 UTC
Another thing to take into account: There are two situations where the user needs help to install language packages--

The first would be when configuring additional language(s) for an installed system, in which all of the corresponding language packs need to be found and installed for the installed applications.

The other situation would be when the user installs a single additional application. It would be best to not have to manually run an "update language packs" tool every time, but rather have the relevant lang packages be automatically located and installed whenever any additional packages are added.
Comment 11 Tomáš Chvátal 2018-04-13 15:04:32 UTC
This is automated batch bugzilla cleanup.

The openSUSE 42.1 changed to end-of-life (EOL [1]) status. As such
it is no longer maintained, which means that it will not receive any
further security or bug fix updates.
As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
openSUSE, or you can still observe it under openSUSE Leap 15.0, please
feel free to reopen this bug against that version (see the "Version"
component in the bug fields), or alternatively open
a new ticket.

Thank you for reporting this bug and we are sorry it could not be fixed
during the lifetime of the release.

[1] https://en.opensuse.org/Lifetime