OK. Had a chance to try this now.
Using “installRecommends = false” in /etc/zypp/zypper.conf appears to make no difference.
No matter if I use YaST Software Management GUI, command line “zypper in”, or command line “zypper in” with the “–no-recommends” flag.
However in trying that I’ve just noticed another oddity… It’s only 1 of the recommended packages being erroneously installed.
Using “digikam” as the “test” package, as it was that, together with “vlc” where I first noticed the behaviour.
digikam has 3 recommended packages:
paul@Orion-15:~$ sudo zypper info --recommends digikam
Loading repository data...
Reading installed packages...
Information for package digikam:
--------------------------------
Repository : KDE Extra (Tumbleweed)
Name : digikam
Version : 6.3.0-201.5
...
snip
...
Recommends : [3]
showfoto
digikam-lang
marble
paul@Orion-15:~$
None of which I have installed
If I do a forced reinstall of digikam then:
paul@Orion-15:~$ sudo zypper in -f digikam
Loading repository data...
Reading installed packages...
Forcing installation of 'digikam-6.3.0-201.5.x86_64' from repository 'KDE Extra (Tumbleweed)'.
Resolving package dependencies...
The following NEW package is going to be installed:
digikam-lang
The following package is going to be reinstalled:
digikam
1 new package to install, 1 to reinstall.
Overall download size: 86.2 MiB. Already cached: 0 B. After the operation, additional 22.3 MiB will be used.
Continue? [y/n/v/...? shows all options] (y):
zypper proposes:
The following NEW package is going to be installed:
digikam-lang
If, having aborted that install, I then repeat with “–no-recommends”
paul@Orion-15:~$ sudo zypper in --no-recommends -f digikam
Loading repository data...
Reading installed packages...
Forcing installation of 'digikam-6.3.0-201.5.x86_64' from repository 'KDE Extra (Tumbleweed)'.
Resolving package dependencies...
The following NEW package is going to be installed:
digikam-lang
The following package is going to be reinstalled:
digikam
1 new package to install, 1 to reinstall.
Overall download size: 86.2 MiB. Already cached: 0 B. After the operation, additional 22.3 MiB will be used.
Continue? [y/n/v/...? shows all options] (y):
again zypper proposes:
The following NEW package is going to be installed:
digikam-lang
What zypper is (correctly) not proposing to install are the 2 other recommended packages…
So why just the language pack.
If I repeat the above on a leap 15.1 system (pre libzypp changed behaviour) then no recommended packages are (correctly) not installed.
Confused… :\