Description of problem: When dnf5 group list is run for the second time, it doesn't print any groups Version-Release number of selected component (if applicable): [root@localhost ~]# dnf5 --version dnf5 version 5.0.6 dnf5 plugin API version 1.0 libdnf5 version 5.0.6 libdnf5 plugin API version 1.0 How reproducible: always Steps to Reproduce: 1. # dnf5 group list 2. # dnf5 group list 3. Actual results: [root@localhost ~]# dnf5 group list Updating and loading repositories: Fedora 38 openh264 (From Cisco) - aarc 100% | 2.9 KiB/s | 6.6 KiB | 00m02s Fedora Modular 38 - aarch64 100% | 734.8 KiB/s | 1.2 MiB | 00m02s Fedora Modular 38 - aarch64 - Test Upd 100% | 7.7 KiB/s | 16.2 KiB | 00m02s Fedora Modular 38 - aarch64 - Updates 100% | 6.6 KiB/s | 16.3 KiB | 00m02s Fedora 38 - aarch64 - Test Updates 100% | 1.0 MiB/s | 1.7 MiB | 00m02s Fedora 38 - aarch64 100% | 7.5 MiB/s | 33.4 MiB | 00m04s Fedora 38 - aarch64 - Updates 100% | 20.6 KiB/s | 16.5 KiB | 00m01s Repositories loaded. ID Name Installed 3d-printing 3D Printing no admin-tools Administration Tools no audio Audio Production no authoring-and-publishing Authoring and Publishing no budgie-desktop Budgie no budgie-desktop-apps Budgie Desktop Applications no c-development C Development Tools and Libraries no cloud-infrastructure Cloud Infrastructure no cloud-management Cloud Management Tools no compiz Compiz no container-management Container Management no d-development D Development Tools and Libraries no design-suite Design Suite no development-tools Development Tools no domain-client Domain Membership no editors Editors no education Educational Software no electronic-lab Electronic Lab no engineering-and-scientific Engineering and Scientific no freeipa-server FreeIPA Server no games Games and Entertainment no headless-management Headless Management no libreoffice LibreOffice no mate-applications MATE Applications no milkymist Milkymist no network-server Network Servers no neuron-modelling-simulators Neuron Modelling Simulators no office Office/Productivity no python-classroom Python Classroom no python-science Python Science no robotics-suite Robotics no rpm-development-tools RPM Development Tools no security-lab Security Lab no sound-and-video Sound and Video no swaywm-extended Sway Window Manager (supplemental packages no system-tools System Tools no text-internet Text-based Internet no window-managers Window Managers no [root@localhost ~]# dnf5 group list Updating and loading repositories: Repositories loaded. [root@localhost ~]# Expected results: groups are listed every time the command is run. # dnf5 clean all helps. Additional info:
I've created an upstream issue for this bug - https://github.com/rpm-software-management/dnf5/issues/341
Following pull requests were queued to fix this issue: fix in DNF5: https://github.com/rpm-software-management/dnf5/pull/346 CI test: https://github.com/rpm-software-management/ci-dnf-stack/pull/1233