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 <adamw...@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.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to