Getting error failed to re-find parent key in index "rhn_pkg_capability_id_pk" while running repository sync

Solution Verified - Updated -

Issue

  • Repository sync is failing for each new package with below error:

    ERROR:  failed to re-find parent key in index "rhn_pkg_capability_id_pk"
    

Environment

  • Red Hat Satellite 5.7

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