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@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?