Custom packages signed using gpg key from a RHEL 6 machine cannot be installed in RHEL 5 machines.

Solution Verified - Updated -

Issue

  • If a package signs using gpg key from a rhel 6 machine, then it cannot be installed in a rhel 5 machine, but the same package
    can be installed in rhel 6 machine.

1. The GPG Keys (Private / Public) are generated on RHEL 6.1
2. Sign a package using this key
3. Try to install this package in a rhel 5 machine, it throws the following error

[root@]# rpm -ivh sqldeveloper-3.0.04.34-1.noarch.rpm 
error: sqldeveloper-3.0.04.34-1.noarch.rpm: Header V4 RSA/SHA1 signature: BAD, key ID e531094f
error: sqldeveloper-3.0.04.34-1.noarch.rpm cannot be installed

Environment

  • Red Hat Enterprise Linux (RHEL) 5/6
  • RPM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content