On Tue, Jun 4, 2019 at 12:06 PM Fabio Valentini <decathorpe(a)gmail.com> wrote:
On Tue, Jun 4, 2019, 18:03 Adam Williamson <adamwill(a)fedoraproject.org> 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(a)redhat.com>
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!