Repository sync failed with the error: duplicate key value violates unique constraint "core_repositorycontent_repository_id_content_id_df902e11_uniq" on Red Hat Satellite.

Solution Verified - Updated -

Issue

  • Unable to sync the repositories on Red Hat Satellite.
  • Below error observed while trying to sync the repository on Satellite.

    duplicate key value violates unique constraint "core_repositorycontent_repository_id_content_id_df902e11_uniq" DETAIL: Key (repository_id, content_id, version_removed_id)=(4acb72ad-a894-4fc5-9798-f4547faeb9a9, 0039875a-604d-43de-af7a-2a2a3ac2f37b, 1f8b51c0-ecb7-46ae-b968-029954ea154f) already exists.
    

Environment

  • Red Hat Satellite 6.11

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