Bugzilla – Bug 1155678
"zypper dup" always installs -lang files
Last modified: 2020-02-27 17:55:40 UTC
Since recently, whenever I update packages that have -lang files, those get installed as well. I explicitly set "solver.onlyRequires = true" in /etc/zypp/zypp.conf. I use my OS in English and downloading hundreds of megabytes of unneeded -lang files every time a new TW snapshot contains updates to translatable GUI apps the update process takes significantly longer because of this. (snapshot 20191030-0 installed gtk3-lang, for example – it alone 20MB)
(@Paul: Basically the same issue as your report) First of all: The content of /var/lib/zypp/RequestedLocales defines which languages should be supported by the system. Packages claiming to be needed to support those locales on your system will be installed even if "solver.onlyRequires = true". The zypper commands locales/addlocale/removelocale are intended for managing the above config file. Unfortunately they need some improvements. In case of doubt load the config file into an editor and remove the locales you don't need. No or an empty file will add support for 'en' only. 'Language support' is expressed by the packages dependencies. In general the package maintainer is responsible for properly defining the languages his package is supporting. @maintainer of gtk3-lang: Your package is in so far special as you explicitly provide 'locale(gtk3:en)' (and 77 more locales). As 'en' is the fallback on every system, this basically drags the package into every system. If the package is not actually required, maybe you can omit the plain 'en'. Regarding zypp: We'll investigate whether we can mitigate the issue with packages explicitly supporting 'en'. If possible we'd differ between an empty RequestedLocales file (no language support at all) and a not-empty one (en used as fallback)...
With libzypp-17.17.0 / zypper-1.14.33 it's possible to request no locales at all. In this case even 'en' is not requested as fallback.
SUSE-SU-2020:0087-1: An update that solves one vulnerability and has 10 fixes is now available. Category: security (moderate) Bug References: 1135114,1154804,1154805,1155198,1155205,1155298,1155678,1155819,1156158,1157377,1158763 CVE References: CVE-2019-18900 Sources used: SUSE Linux Enterprise Module for Open Buildservice Development Tools 15-SP1 (src): libsolv-0.7.10-3.22.1 SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 (src): libsolv-0.7.10-3.22.1, libzypp-17.19.0-3.34.1, zypper-1.14.33-3.29.1 SUSE Linux Enterprise Module for Development Tools 15 (src): libsolv-0.7.10-3.22.1 SUSE Linux Enterprise Module for Basesystem 15 (src): libsolv-0.7.10-3.22.1, libzypp-17.19.0-3.34.1, zypper-1.14.33-3.29.1 SUSE Linux Enterprise Installer 15 (src): libsolv-0.7.10-3.22.1, libzypp-17.19.0-3.34.1, zypper-1.14.33-3.29.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2020:0432-1: An update that solves one vulnerability and has 10 fixes is now available. Category: security (moderate) Bug References: 1135114,1154804,1154805,1155198,1155205,1155298,1155678,1155819,1156158,1157377,1158763 CVE References: CVE-2019-18900 Sources used: SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP1 (src): libsolv-0.7.10-3.13.4 SUSE Linux Enterprise Module for Open Buildservice Development Tools 15-SP1 (src): libsolv-0.7.10-3.13.4, libzypp-17.19.0-3.14.5, zypper-1.14.33-3.13.5 SUSE Linux Enterprise Module for Development Tools 15-SP1 (src): libsolv-0.7.10-3.13.4 SUSE Linux Enterprise Module for Basesystem 15-SP1 (src): libsolv-0.7.10-3.13.4, libzypp-17.19.0-3.14.5, zypper-1.14.33-3.13.5 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
openSUSE-SU-2020:0255-1: An update that solves one vulnerability and has 10 fixes is now available. Category: security (moderate) Bug References: 1135114,1154804,1154805,1155198,1155205,1155298,1155678,1155819,1156158,1157377,1158763 CVE References: CVE-2019-18900 Sources used: openSUSE Leap 15.1 (src): libsolv-0.7.10-lp151.2.10.1, libzypp-17.19.0-lp151.2.10.1, zypper-1.14.33-lp151.2.10.1