Fail to import contents with 'duplicate key value violates unique constraint "rpm_updatecollectionname_name_update_record_id_6ef33bed_uniq' error.
Issue
-
hammer content-import
command failed with the following error:duplicate key value violates unique constraint \"rpm_updatecollection_name_update_record_id_6ef33bed_uniq\"\nDETAIL: Key (name, update_record_id)=(some-repo-name_default_0, XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX) already exists.\n
Environment
- Red Hat Satellite 6.11 and above
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.