Status of weak dependencies support in Fedora 21+

Radek Holy rholy at
Mon Nov 10 08:39:05 UTC 2014

----- Original Message -----
> From: "Michael Schroeder" <mls at>
> To: "Development discussions related to Fedora" <devel at>
> Sent: Sunday, November 9, 2014 4:03:37 PM
> Subject: Re: Status of weak dependencies support in Fedora 21+
> On Sat, Nov 08, 2014 at 11:26:50PM +0100, drago01 wrote:
> > Well if you have package foo that suggests bar and you do
> > 
> > dnf/yum install foo it should simply install both, but if you do
> > yum/dnf remove bar it should leave foo installed.
> > 
> > But neither is implemented.
> Because you're using Suggests, not Recommends. For Recommends, dnf will
> also install bar if you install foo. It will also remove bar again if
> you deinstall foo and clean_requirements_on_remove is set to true.

Well, I suppose that it's what libsolv (that is used by DNF) will do. But the behavior is not documented in the DNF's documentation which implies that we cannot promise publicly how will DNF behave in such unsupported cases. And I believe that DNF cannot support these tags unless there is an official Fedora document/guideline that specifies the exact semantics.

However, I'll be happy if it turns out that I'm wrong.
Radek HolĂ˝
Associate Software Engineer
Software Management Team
Red Hat Czech

More information about the devel mailing list