Content View Publish tasks on Red Hat Satellite 6 fails with PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "katello_repository_rpms_pkey"

Solution Verified - Updated -

Issue

  • Publishing content view on Red Hat Satellite 6 fails with below error.

    PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "katello_repository_rpms_pkey"
    DETAIL:  Key (id)=(43578862) already exists.
    PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "katello_repository_rpms_pkey"
    DETAIL:  Key (id)=(43585884) already exists.
    

Environment

  • Red Hat Satellite 6

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