Re: PSA: dnf autoremove cleans fedora-repos-modular

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

 



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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
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