Status of weak dependencies support in Fedora 21+

drago01 drago01 at gmail.com
Sat Nov 8 22:26:50 UTC 2014


On Sat, Nov 8, 2014 at 10:47 PM, Stephen John Smoogen <smooge at gmail.com> wrote:
>
>
> On 8 November 2014 10:54, Peter Lemenkov <lemenkov at gmail.com> 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 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 am guessing the question is "Has dnf grown a method for dealing with
> Suggests" and how does it deal with it? Does it ask if you want to install
> something that wasn't required.. does it treat a Suggests like it is a
> Required and just installs it or does it ignore it unless some extra flag is
> add (--read-my-mind)

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.


More information about the devel mailing list