Status of weak dependencies support in Fedora 21+

Michal Sekletar msekleta at redhat.com
Mon Nov 10 09:04:53 UTC 2014


On Sat, Nov 08, 2014 at 09:54:35PM +0400, Peter Lemenkov wrote:
> Hello All!
> RPM shipped with Fedora 21+ has support for weak dependencies. What's
> the current status of that feature? Is it ok to start using them
> (building RPM with Recommends/Suggests tags)?

I don't think it is ok to start using them for now. We don't have any packaging
guidelines on their usage.

> 
> I have a real-world example where I'd like to mark a dependency as
> Suggests instead of Requires and want to know if dnf is ready to
> process it?

I played with Recommends in one case and it actually worked as expected. Even
package uninstalls and updates honored the dependency semantics as
expected. However I think it is because libsolv's logic and not some explicit
handling in dnf.

Michal

> 
> -- 
> With best regards, Peter Lemenkov.
> -- 
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct


More information about the devel mailing list