package puppet-release-1.0.0-34.el8.noarch cannot be verified and repo puppet is GPG enabled: /var/cache/PackageKit/41/metadata/puppet-41-x86_64/packages/puppet-release-1.0.0-34.el8.noarch.rpm could not be verified.
/var/cache/PackageKit/41/metadata/puppet-41-x86_64/packages/puppet-release-1.0.0-34.el8.noarch.rpm: Verifying a signature using certificate D6811ED3ADEEB8441AF5AA8F4528B6CD9E61EF26 (Puppet, Inc. Release Key (Puppet, Inc. Release Key) release@puppet.com):
Certificate 4528B6CD9E61EF26 invalid: certificate is not alive
because: The primary key is not live
because: Expired on 2025-04-06T21:39:22Z
Key 4528B6CD9E61EF26 invalid: key is not alive
because: The primary key is not live
because: Expired on 2025-04-06T21:39:22Z: digest: SIGNATURE: NOT OK
sudo dnf -v update --refresh
[sudo] password for amunir:
Unknown argument “-v” for command “dnf5”. Add “–help” for more information about the arguments.
The message is pretty clear.
You are using the puppet third party yum repository. And their gpg key is expired.
And yes, it looks like you have installed the one for EL8 (CentOS, Red Hat EL, Rocky Linux, etc.)
If I were you, I would uninstall puppet, remove such repository, make the update and eventually install puppet from the Fedora repository, as suggested by others.