On Wed, 2023-02-01 at 09:59 -0600, Chris Adams wrote:
Once upon a time, Adam Williamson <adamwill(a)fedoraproject.org>
said:
> The difference between 'default' and 'mandatory' is that if
> a package is listed as 'mandatory', it *must* remain installed for dnf
> to consider the group as 'installed'. If it's listed as
'default', it
> will be installed by default when the group is, but can be removed
> without the group being considered to have been removed.
Jumping in because this brings a question to mind: does dnf thinking a
group is installed mean anything? For example, let's say comps is
changed to add a package (default/mandatory) to a group - will dnf say
"a-ha, I have this group installed, I need to add this package"?
I believe it does do that on upgrades when a group is marked as
installed, yes. In the past there was an issue where groups weren't
marked as installed when installing from a live image (so e.g. after
installing from the Workstation live, the 'gnome-desktop' group wasn't
marked installed), but I believe that finally got resolved somewhere
along the way, so will only affect older, long-upgraded installs now.
--
Adam Williamson (he/him/his)
Fedora QA
Fedora Chat: @adamwill:fedora.im | Mastodon: @adamw(a)fosstodon.org
https://www.happyassassin.net