Noticed I was running low on disk space so performed a disk usage analysis. Apparently /var/cache/dnf/ holds 27GB of diskspace. Expanding the directory further, these five items appear to be exceptionally large:
That with the dnf cache files you can also check in the config with: dnf4 config-manager --dump |grep cache till F40
From F41 on dnf --dump-main-config |grep cache
We where changing from dnf4 to dnf5 (this are the package names).
The command names have been sim-linked to the older commands.
Fedora switched to dnf5 with f41 which would’ve changed the cache directory among other things. It can still get a little confusing because both KDE Discover and Gnome Software are still utilizing dnf4.