Peter Suetterlin composed on 2021-03-17 19:13 (UTC):
Per Jessen wrote:
Carlos E. R. wrote:
Michael Spartana wrote:
Is there a way to tell zypper not to fetch -lang packages?
AFAIK, no.
I was going to suggest 'zypper al', would that not work ?
I've been using zypper al *-lang for quite some time. A few other unnecessary space wasters: adobe*fonts glibc-local? google*fonts gtk?-immodule* intlfont*
IIRC there are some packages that require their -lang package, so those might cause trouble.
It's a nuisance, but not serious. What I do is lock the packages that complain, which avoids the update interruption to answer break on each applicable package, and leave them "broken", which they aren't really on an EN-only installtion. When I have time to waste and allow updates that might actually matter, I either remove the individual package locks and repeat the up/dup, or install the specific packages and answer "break" to each. Supposed "breaks" of branding packages I only waste time on at major upgrade times or after a fresh installation.
Another solution is to use "solver.onlyRequires = true" in zypp.conf, AFAIK the -lang packages (at least most of them) are only recommended. But not everyone likes that setting. I use it, and don't have langs
Same here, for many years. onlyRequires true avoids some non-breaking "breaks" trouble, and occasionally leads to discovery of packaging errors that need reporting. I filed bugs about some of this 17 months ago and 5 years ago: <https://bugzilla.opensuse.org/show_bug.cgi?id=992519> <https://bugzilla.opensuse.org/show_bug.cgi?id=1153854> -- Evolution as taught in public schools, like religion, is based on faith, not on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/