On Fri, Jul 10, 2020 at 02:35:05PM -0700, John M. Harris Jr wrote:
On Friday, July 10, 2020 4:39:21 AM MST Miro Hrončok wrote:
> On 09. 07. 20 14:24, Petr Pisar wrote:
>
> > On Thu, Jul 09, 2020 at 12:55:44PM +0200, Igor Raits wrote:
> >
> >> One just noticed that `dnf autoremove` is trying to remove `fedora-
> >> repos-modular` and `fedora-repos-rawhide-modular`.
> >>
> >>
> >>
> > [...]
> >
> >> I don't know where / which the fix should be: DNF, comps or both.
> >> Simply putting the fedora-repos-modular in comps won't help since DNF
> >> is only using them when running `group install/update/remove`.
> >>
> >>
> >>
> > DNF should perform "dnf mark install fedora-repos-rawhide-modular"
action
> > on a system upgrade, because we want that package to be prensented on
> > the system. However I worry that DNF does not possess a capability for
> > doing it. (Except of injecting that command into some externally executed
> > script.)
>
>
> Can we amend dnf system-upgrade to do this?
Wouldn't that install modular repos on systems that end users have removed it
from? Is there a way around that?
It won't. If a package is not installed, the command will fail.
-- Petr