Dne 01. 02. 23 v 17:18 Adam Williamson napsal(a):
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.
Interesting. I sometimes stumble upon something like "Installing
packages/groups" during updates and I always wondered why. Need to
observe this next time.
Vít
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.