Installing a RPM Fails with 'Header V3 RSA/SHA256 Signature, key ID ec551f03: BAD' (Doc ID 2007046.1)

Last updated on MARCH 29, 2016

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64
Linux x86

Symptoms

Note: This document has been created as guidance in case nothing works nor yum nor rpm command, nothing can be listed nor updated or installed, backup is needed prior any change.

Installing/updating RPMs via command yum or rpm fails with below messages:

 Also "rpm -qa" command would not return anything, database is corrupted to the point of not showing any packages and would not retrieve anything if it gets rebuilt.

/var/lib/rpm/ is missing Packages file or empty.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms