Florian Weimer wrote: > Is there a form of weak dependency which is installed when available, > but not automatically re-installed on each update? The only workaround for that broken DNF behavior that packagers can in some cases use at this time is to use boolean Supplements instead of a simple Recommends or Supplements. E.g., if you have a package foo that has an optional subpackage foo-bar making use of a third package bar, it is often reasonable to change: foo Recommends: foo-bar or: foo-bar Supplements: foo to: foo-bar Supplements: (foo and bar) So you will get the subpackage dragged in only if you already have bar and so are likely to want foo to work together with it. This is particularly useful for desktop integration packages, e.g., the libyui-gtk and libyui-qt backends work this way. Another example is plasma-discover-flatpak, which Supplements: (plasma-discover and flatpak). But there are cases where there is no useful package bar to key on like that, so this workaround is not universally applicable. Kevin Kofler _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx