Software Management/Dependencies/Expressions

From openSUSE

Boolean expressions

Combining Freshens/Supplements Dependencies with "AND"

Supplements and Freshens are both reverse dependencies. Multiple reverse dependencies (i.e. freshens: foo bar) are combined via 'or'.

However, here we need an 'and' expression since the package should only be installed if dependency A and dependency B match.

e.g. kernel-flavor _and_ modalias(...) match

Currently we are reaching this taget by a combination of freshens and supplements.

Example:

freshens: foo bar

supplements: donald duck

This is evaluated as (foo OR bar) AND (donald OR duck)

See also