http://bugs.winehq.org/show_bug.cgi?id=48264
--- Comment #47 from Michael Setzer II mikes@kuentos.guam.net --- Just did a test and seems to work fine on Fedora 42. No checksum error.
Generally, if did a dnf clean all, it would create a script that would remove that file, and had a file that would restore the files I had captured from a machine that worked.
winehq.gz contained. ls -lr total 0 drwxr-xr-x 2 root root 60 May 22 15:26 solv drwxr-xr-x 2 root root 80 May 22 15:25 repodata drwxr-xr-x 2 root root 40 May 22 20:45 attrs root@setzcodell:/tmp/x# ls -lR .: total 0 drwxr-xr-x 2 root root 40 May 22 20:45 attrs drwxr-xr-x 2 root root 80 May 22 15:25 repodata drwxr-xr-x 2 root root 60 May 22 15:26 solv
./attrs: total 0
./repodata: total 64 -rw-r--r-- 1 root root 58543 May 22 20:45 primary.xml.zst -rw-r--r-- 1 root root 2707 May 22 15:25 repomd.xml
./solv: total 120 -rw-r--r-- 1 root root 121496 May 22 15:26 WineHQ.solv
Restore these files to the /var/cache/libdnf5 would then have winehq work.
Now the dnf clean all removes the winehq directory so it has no expired file. So now that is no longer needed.
Thanks.