On 2017-07-23 10:43, Mykola Krachkovsky wrote:
неділя, 23 липня 2017 р. 11:17:43 EEST Mykola Krachkovsky написано:
Sorry. Maybe I was not clear enough and mixed two questions into the one. I'll divide them.
So, I've split question about deletion of lang packages. Here stays question is there any way to respect lang packages and skip recommended?
Case 1. Lets say there is package abrakadabra, which has localization package abrakadabra-lang and recommended package abrakadabra-rec. How to install abrakadabra and abrakadabra-lang but not abrakadabra-rec? I'm only aware of one method: specify explicitly abrakadabra-lang and adding option --no- recommends. That's not problem in case of one or two packages, but may be a problem for a lot of packages where some have lang and some haven't.
Case 2. There is abrakadabra package and recommended package abrakadabra-rec. abrakadabra was installed, *-rec was not. At some update new package comes: abrakadabra-lang. But updating without recommends wouldn't install it. So I have to get all installed packages list, all uninstalled -lang list and compare them. That's time consuming even in the case of using zypper se -i/-u + sed + uniq -c.
This cases aren't abstract. Case 1 I have when installing new packages — I have to check each package has its lang or not. Case 2 was reality at least at splitting of kde5-??-l18n into *-lang packages. And some packages got new localization.
Well, as recommended doesn't differentiate -lang or -rec, you have to install both or neither, unless new features are created. Or some configuration file where one can add file* patterns to add or remove from the installation with any command. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)