Re: Status of weak dependencies support in Fedora 21+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
> From: "Michael Schroeder" <mls@xxxxxxx>
> To: "Development discussions related to Fedora" <devel@xxxxxxxxxxxxxxxxxxxxxxx>
> 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
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux