Dnf up transaction fails on qt6-qtdeclarative-6.8.2-1

This is the error:

172/172] Total                                                                                                                                                                                     100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
Transaction failed: Signature verification failed.
OpenPGP check for package "qt6-qtdeclarative-6.8.2-1.fc41.x86_64" (/var/cache/libdnf5/updates-e19adde8fd271134/packages/qt6-qtdeclarative-6.8.2-1.fc41.x86_64.rpm) from repo "updates" has failed: Problem occurred when opening the package.

Solved by deleting and reimporting the key and deleting the cached package

sudo rm /var/cache/libdnf5/updates-e19adde8fd271134/packages/qt6-qtdeclarative-6.8.2-1.fc41.x86_64.rpm

Nope, then yet another error

[ 71/342] Upgrading qt6-qtdeclarative-0:6.8.2-1.fc41.x86_64                                                                                                                                         100% |  54.3 MiB/s |  50.2 MiB |  00m01s
>>> [RPM] unpacking of archive failed on file /usr/lib64/libQt6Qml.so.6.8.2;67aa5698: cpio: Digest mismatch
>>> Unpack error: qt6-qtdeclarative-0:6.8.2-1.fc41.x86_64                                                                                                                                      100% |   7.8 MiB/s | 135.1 MiB |  00m17s
>>> [RPM] qt6-qtdeclarative-6.8.2-1.fc41.x86_64: install failed

Finally solved by doing what’s written above plus a reboot and a sudo dnf up for that single remaining package