In Red Hat Satellite 6 many repositories fail to sync with error 'duplicate key value violates unique constraint'

Solution Verified - Updated -

Issue

  • In Red Hat Satellite 6.11 many repositories fail to sync with error :
duplicate key value violates unique constraint "rpm_package_pkgId_key"
DETAIL:  Key ("pkgId")=(53d3c15711e89c48416a7e134576b62abfb8bdcdfc5db0e65bd423f4bga8e428) already exists.

Environment

  • Red Hat Satellite 6.11

  • RHEL8

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