How to fix copr transaction test error - package does not verify

Not all these steps will be needed

Check RPM database integrity:

sudo rpm --rebuilddb

Ensure that the correct key for repo is present

Remove old keyss

sudo rpm -q --qf "%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n" gpg-pubkey | grep "rockowitz#ddc.*@copr | cut -f 1 |xargs rpm -e

Import latest keys:

sudo rpm --import https://download.copr.fedorainfracloud.org/results/rockowitz/ddcutil/pubkey.gpg

sudo rpm --import https://download.copr.fedorainfracloud.org/results/rockowitz/ddcui/pubkey.gpg

Clean DNF cache:

sudo dnf clean all

As of Fedora 41, dnf5 replaces dnf4 as default package manager. Command dnf is an alias for dnf5

If issues persist, consider disabling and re-enabling the COPR repository:

bash sudo dnf copr disable / sudo dnf copr enable /