[opensuse-factory] Recommended and *-lang packages conflict (dup and not only)
Hi, So ATM correct way to update Tubleweed considered zypper dup I'm usually using zypper dup --no-recommends Because a lot of packages I don't need are recommended for install (like Mesa- dri-nouveau, some texlive packages, etc.) But there is a conflict — this way will not install matching -lang package (if it would be added). And now I've even got a proposition for deletion of gstreamer-lang. Why? Is any possibility to care for -lang packages but ignore recommended? Yes, I can mark that hundreds of packages taboo, but it's boring. -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський
* Mykola Krachkovsky
Hi,
So ATM correct way to update Tubleweed considered zypper dup
no, zypper dup --no-allow-vendor-change
I'm usually using zypper dup --no-recommends Because a lot of packages I don't need are recommended for install (like Mesa- dri-nouveau, some texlive packages, etc.)
I use --no-r consistantly I also remove all *-lang packages, but us-english is normally default. but you can add lang packages that you need. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
субота, 22 липня 2017 р. 19:37:16 EEST Patrick Shanahan написано:
* Mykola Krachkovsky
[07-22-17 12:18]: Hi,
So ATM correct way to update Tubleweed considered zypper dup
no, zypper dup --no-allow-vendor-change
It's now default. Look for thread "dup --no-allow-vendor-change is now default" in this mail-list. Less switches to worry about.
I use --no-r consistantly
I also remove all *-lang packages, but us-english is normally default. but you can add lang packages that you need.
Well, I'm using Ukrainian, so I kinda like -lang packages :) Surely I can install them and doing that, but that is time consuming especially when some long time ago installed package got -lang package, e.g. KDE localization was divided in individual subpackages. But what disturbed me more — proposal for deletion of a lot of installed -lang packages. Aren't they supposed to stay? -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський
* Mykola Krachkovsky
субота, 22 липня 2017 р. 19:37:16 EEST Patrick Shanahan написано:
* Mykola Krachkovsky
[07-22-17 12:18]: Hi,
So ATM correct way to update Tubleweed considered zypper dup
no, zypper dup --no-allow-vendor-change
It's now default. Look for thread "dup --no-allow-vendor-change is now default" in this mail-list. Less switches to worry about.
I use --no-r consistantly
I also remove all *-lang packages, but us-english is normally default. but you can add lang packages that you need.
Well, I'm using Ukrainian, so I kinda like -lang packages :) Surely I can install them and doing that, but that is time consuming especially when some long time ago installed package got -lang package, e.g. KDE localization was divided in individual subpackages. But what disturbed me more — proposal for deletion of a lot of installed -lang packages. Aren't they supposed to stay?
only the ones YOU want. like I said, I deleted them all, but you would want the ukranian ones. deleting any that aren't of interest or needful for you would be ok. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
субота, 22 липня 2017 р. 21:40:49 EEST Patrick Shanahan написано:
only the ones YOU want. like I said, I deleted them all, but you would want the ukranian ones. deleting any that aren't of interest or needful for you would be ok.
But I want them to stay. I've installed before gstreamer and gstreamer-lang which includes different localizations, including Ukrainian. And "zypper dup --no-recommends" trying to *remove* it. That's the main problem. After doing that I'm supposed to install it again and again. That's… not good. -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський
Sorry. Maybe I was not clear enough and mixed two questions into the one. I'll divide them. -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський
неділя, 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. -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський
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)
неділя, 23 липня 2017 р. 16:18:03 EEST Carlos E. R. написано:
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.
Is there any way to add this differentiation? Or this is RPM limit? So far the best way is to run something ugly like this: (zypper se -i | grep -E '^i' | cut -s -d\| -f2 | sed -re 's/^\s*(.*\S)\s*$/\1/'; zypper se -u '*-lang' | grep -E '^ ' | cut -s -d\| -f2 | sed -re 's/^\s*(.*)-lang\s*$/\1/') | sort | uniq -c | grep -vE '^\s*1\s' or running zypper dup and looking for lang packages. -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський
On 2017-07-23 18:12, Mykola Krachkovsky wrote:
неділя, 23 липня 2017 р. 16:18:03 EEST Carlos E. R. написано:
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.
Is there any way to add this differentiation? Or this is RPM limit?
I think it is zypper limit. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
participants (3)
-
Carlos E. R.
-
Mykola Krachkovsky
-
Patrick Shanahan