Why does an rpm query or install fail with the error `error: rpmdbNextIterator: skipping h# Header V3 DSA signature: BAD`?

Solution Verified - Updated -

Issue

  • Why does an rpm query or install fail with the error error: rpmdbNextIterator: skipping h# Header V3 DSA signature: BAD?

    $ rpm -Uvh package-name-version-release.arch.rpm 
    warning: package-name-version-release.arch.rpm : V3 DSA signature: NOKEY, key ID db42a60e 
    Preparing...                ########################################### [100%] 
    error: rpmdbNextIterator: skipping h#     753 Header V3 DSA signature: BAD, key ID db42a60e 
    error: rpmdbAdd: skipping h#     754 Header V3 DSA signature: BAD, key ID db42a60e 
    error: rpmdbNextIterator: skipping h#     753 Header V3 DSA signature: BAD, key ID db42a60e 
    error: rpmdbNextIterator: skipping h#     187 Header V3 DSA signature: BAD, key ID db42a60e 
    #  
    
    $ rpm -qa | grep cups 
    error: rpmdbNextIterator: skipping h#     753 Header V3 DSA signature: BAD, key ID db42a60e 
    error: rpmdbNextIterator: skipping h#     192 Header V3 DSA signature: BAD, key ID db42a60e 
    cups-1.1.22-0.rc1.9.20 
    hal-cups-utils-0.5.2-8 
    cups-libs-1.1.22-0.rc1.9.20 
    libgnomecups-0.1.12-5 
    

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 3

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