Error - Header V4 RSA/SHA1 Signature, key ID 98c4c654: NOKEY

Issues related to applications and software problems and general support
Post Reply
StephenT88
Posts: 1
Joined: 2022/05/10 08:48:25

Error - Header V4 RSA/SHA1 Signature, key ID 98c4c654: NOKEY

Post by StephenT88 » 2022/05/10 08:52:14

Hope someone can help. I have recently installed Centos9 Stream and trying to install an rpm I have. When ever I go to run it using rpm -i I get the error "Header V4 RSA/SHA1 Signature, key ID 98c4c654: NOKEY" Any suggestions on how to fix this.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Error - Header V4 RSA/SHA1 Signature, key ID 98c4c654: NOKEY

Post by TrevorH » 2022/05/10 10:36:32

It means that the package you are trying to install is signed with an unknown GPG key. You either need to import the key into the rpm database (better) or use rpm --nosignature to bypass the check. The check is there to stop you from installing bogus packages from unknown or faked suppliers. Or possibly, the package you're trying to install is not designed to install on CentOS Stream 9 at all - bear in mind that CS9 is a pre-release of what will be RHEL 9 once that is released (which it isn't, yet).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Error - Header V4 RSA/SHA1 Signature, key ID 98c4c654: NOKEY

Post by jlehtone » 2022/05/10 11:35:24

Overall, do not use 'rpm -i'. Do use 'dnf install'.

Both can install package from file (even URL), but dnf does pull dependencies from repositories (if necessary and possible) and does log the transaction in 'dnf history' which helps when you ask "When did I?", "How did I?", and "How to remove all those that I did install back in ..."

Post Reply