Dnf repoquery --groupmember does not exist anymore

How do I check the group memberships of a package ?
I used to do
sudo dnf repoquery --groupmember emacs
for example
but since f41 there is no --groupmember option for dnf repoquery.

Thanks for your help.

It’s now dnf group list --contains-pkgs ...

Moved --groupmember option to the info and list subcommands of the group and advisory commands, renaming it to --contains-pkgs.

Changes between DNF and DNF5 — dnf5 documentation
Group Command — dnf5 documentation

1 Like