On Thu, Apr 18, 2024 at 3:18 PM Jan Engelhardt
On Thursday 2024-04-18 14:08, Stefan Seyfried via openSUSE Factory wrote:
I recently installed a new laptop with Tumbleweed instead of my old habit of just moving over the installed disk. Now I'm facing some issues that were not present before in my old installation.
One of these issues is that something wants to pull in addiditonal -lang packages that I do not want:
mixi:~ # zypper -v dup --no-recommends [...] The following 8 NEW packages are going to be installed: cpupower-lang 6.8.6-7.9 file-roller-lang 44.1-1.1 gcr-lang 4.3.0-1.1 gnome-online-accounts-lang 3.50.1-1.1 gtk3-lang 3.24.41-2.1 icewm-lang 3.4.5-3.1 pipewire-lang 1.0.4-3.1 xz-lang 5.6.1.revertto5.4-3.1
As you can see, I already added "--no-recommends" as every experienced user obviously always does, but the *-lang are still added.
If you used --no-recommends, then the proposed packages surely are due to a strong require, which means after installation you can `rpm -e xz-lang` and see who's hard-requiring it.
That, or `zypper lloc` is now independent of --no-recommends :-/
The latter. andrei@tumbleweed:~> zypper locales Code | Language | Requested -----+----------+---------- de | German | Requested en | English | Fallback andrei@tumbleweed:~> sudo zypper in cpupower Loading repository data... Reading installed packages... Resolving package dependencies... The following 3 NEW packages are going to be installed: cpupower cpupower-lang libcpupower1 3 new packages to install. Overall download size: 205.4 KiB. Already cached: 0 B. After the operation, additional 488.9 KiB will be used. Backend: classic_rpmtrans Continue? [y/n/v/...? shows all options] (y): n andrei@tumbleweed:~> zypper info --supplements cpupower-lang Repository 'openSUSE-Tumbleweed-Non-Oss' is out-of-date. You can run 'zypper refresh' as root to update it. Repository 'openSUSE-Tumbleweed-Oss' is out-of-date. You can run 'zypper refresh' as root to update it. Repository 'openSUSE-Tumbleweed-Update' is out-of-date. You can run 'zypper refresh' as root to update it. Loading repository data... Reading installed packages... Information for package cpupower-lang: -------------------------------------- Repository : openSUSE-Tumbleweed-Oss Name : cpupower-lang Version : 6.8.6-7.9 Arch : noarch Vendor : openSUSE Installed Size : 82.5 KiB Installed : No Status : not installed Source package : cpupower-6.8.6-7.9.src Upstream URL : https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git Summary : Translations for package cpupower Description : Provides translations for the "cpupower" package. Supplements : [6] (cpupower and namespace:language(cs)) (cpupower and namespace:language(de)) (cpupower and namespace:language(fr)) (cpupower and namespace:language(it)) (cpupower and namespace:language(ka)) (cpupower and namespace:language(pt)) andrei@tumbleweed:~>