RHEL 6 マシンの gpg キーを使用して署名したカスタムパッケージを RHEL 5 マシンにインストールすることができない

Solution Verified - Updated -

Issue

  • RHEL 6 マシンの gpg キーを使用してパッケージに署名を追加すると RHEL 5 マシンにインストールすることができません。
    ただし、このパッケージを RHEL 6 マシンにインストールすることはできます。

1. GPG キー (秘密および公開) を RHEL 6.1 で生成します。
2. このキーを使用してパッケージに署名を追加します。
3. RHEL 5 マシンにこのパッケージをインストールしようとすると以下のエラーが出力されます。

[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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.