Re: Weak RPM dependencies which are not automatically re-installed on update

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

 



On Tue, Jun 4, 2019 at 12:06 PM Fabio Valentini <decathorpe@xxxxxxxxx> wrote:
>
> On Tue, Jun 4, 2019, 18:03 Adam Williamson <adamwill@xxxxxxxxxxxxxxxxx> wrote:
>>
>> On Tue, 2019-06-04 at 15:53 +0200, Florian Weimer wrote:
>> > * Neal Gompa:
>> >
>> > > On Tue, Jun 4, 2019 at 9:30 AM Florian Weimer <fweimer@xxxxxxxxxx> wrote:
>> > > > Is there a form of weak dependency which is installed when available,
>> > > > but not automatically re-installed on each update?
>> > > >
>> > > > If all the optional components are back after an update, that means that
>> > > > it's quite hard to maintain a minimal system installation.
>> > > >
>> > >
>> > > This feature is not yet wired up in DNF. We have all the information
>> > > we need to make those kinds of decisions, but it currently isn't
>> > > accounted for. I discussed this with Daniel Mach at openSUSE
>> > > Conference and he's aware that it's possible and some work could be
>> > > done to support this depending on demand for the feature.
>> >
>> > Does it sense to reopen bug 1699672, in light of this development?
>>
>> As a side note, if your goal is "to maintain a minimal system
>> installation", perhaps what you might want is to be able to configure
>> dnf to simply *never* install weak (Recommends) or very weak (Suggests)
>> dependencies. IIRC, this is configurable on SUSE - you can set this as
>> permanent package manager configuration. I'm not sure if it is in DNF,
>> but if not, perhaps it could be?
>
>
> There is:
>
> --setopt=install_weak_deps=False
>

The option can also be set in dnf.conf (--setopt= maps to options that
you can set there. :) )



-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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