![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
On 26.08.2023 12:50, Robert Webb via openSUSE Factory wrote:
On Sat, 26 Aug 2023 08:21:31 +0300, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
On 26.08.2023 00:26, Robert Webb via openSUSE Factory wrote:
On Fri, 25 Aug 2023 14:28:00 +0300, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
zypper search --requires-pkg zypper search --recommends-pkg zypper info --supplements
What is the meaning of "supplement(s)"?
https://rpm-software-management.github.io/rpm/manual/dependencies.html
Thank you. I remember reading the 'Weak dependencies' section before, but had forgotten it.
So, package A containing "Recommends: B" declares the same dependency relationship as package B containing "Supplements: A". Except that /etc/zypp/zypp.conf contains a variable controlling whether the Recommends dependencies are active or not. Are the Supplements dependencies always enabled?
No, they are disabled by solver.onlyRequires too.
None of the man pages for zypper and rpm* define or describe it.
None of the man pages for zypper and rpm define "requires" or "recommends" either, but you somehow are comfortable with it?
:-) "Requires" is used frequently when discussing dependencies, so it gets defined somewhat by context. "Recommends" has text describing the zypper options for it and the enabling setting in zypp.conf, and there has been discussion about it in this list. The 'Package Dependencies' section of the zypper man page does say they both are types of dependencies, but doesn't mention "Supplements" (or "Suggests", or "Enhances").
Suggests and Enhances are just hints, they are never installed automatically and I am not sure whether zypper mentions them at all during normal run. I do not use YaST, so cannot comment on its interface.