Dnf5 hidden group query w/rpmfusion during kickstart

With dnf5 running

dnf group list --hidden

shows the core and standard groups which are otherwise hidden.

dnf group info standard

shows the expected info about the standard group

dnf group info core

or

dnf group info --hidden core
Updating and loading repositories:
Repositories loaded.
Id                   : core
Name                 : Core
Description          : Smallest possible installation
Installed            : yes
Order                : 
Langonly             : 
Uservisible          : no
Repositories         : @System
Mandatory packages   : rpmfusion-nonfree-release
Conditional packages : rpmfusion-nonfree-appstream-data

does not produce the expected output.

An inspection of the comps-Everything.x86_64.xml in /var/cache/libdnf5/.../repodata reveals that the core group exists with the expected package information.

dnf group list --hidden --contains-pkgs systemd-udev
Updating and loading repositories:
Repositories loaded.
ID                   Name                      Installed
phosh-desktop        A phone/tablet UX environ        no
standard             Standard                         no
workstation-product  Fedora Workstation produc        no

Additionally

dnf group list --hidden --contains-pkgs systemd-udev

produces expected results

dnf group list --hidden --contains-pkgs basesystem

does not produce expected results

What is different about core group handling?
What do I need to do to have dnf group queries work as expected?

1 Like

Added dnf5

Added f42, fedora-rawhide

Added f41

On an upgraded F41 installation:

dnf group info --hidden core
Updating and loading repositories:
Repositories loaded.
Id                   : core
Name                 : Core
Description          : Smallest possible installation
Installed            : yes
Order                : 
Langonly             : 
Uservisible          : no
Repositories         : @System
Mandatory packages   : audit
                     : basesystem
                     : bash
                     : coreutils
                     : curl
                     : dhcp-client
                     : dnf5
                     : e2fsprogs
                     : filesystem
                     : glibc
                     : hostname
                     : iproute
                     : iputils
                     : kbd
                     : less
                     : man-db
                     : ncurses
                     : openssh-clients
                     : openssh-server
                     : parted
                     : policycoreutils
                     : procps-ng
                     : rootfiles
                     : rpm
                     : selinux-policy-targeted
                     : setup
                     : shadow-utils
                     : sssd-common
                     : sssd-kcm
                     : sudo
                     : systemd
                     : util-linux
                     : vim-minimal
                     : yum
Default packages     : NetworkManager
                     : dnf5-plugins
                     : dracut-config-rescue
                     : firewalld
                     : fwupd
                     : plymouth
                     : systemd-resolved
                     : zram-generator-defaults
Optional packages    : dracut-config-generic
                     : initial-setup
                     : initscripts
dnf group list --hidden --contains-pkgs basesystem
Updating and loading repositories:
Repositories loaded.
ID                   Name Installed
core                 Core       yes

Does that appear as expected?

From the original post of the output of

dnf group info --hidden core

I thought it was odd the rpmfusion release and appstream-data packages were the only ones returned. So I removed rpmfusion from the provisioning process and now

dnf group info --hidden core

dnf group list --hidden --contains-pkgs basesystem

dnf group info --hidden --contains-pkgs basesystem

all work as expected.

There is something with the rpmfusion repos being enabled that resulted in this issue. More investigation needed…

From a new instance of fedora 41 provisioned without any rpmfusion repos then after the first boot run

dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-41.noarch.rpm
dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-41.noarch.rpm

dnf group info --hidden core works as expected.

But a newly provisioned instance adding rpmfusion-free to ks.cfg

repo --name="rpmfusion-free"  --metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-$releasever&arch=$basearch

the symptom reappears. Even more investigation needed…

This may just have to do with f41 not being released yet?

Now that f41 has been released this problem disappeared!