Problem:
When syncing a repo receiving the below:
{
“traceback”: " File “/usr/local/lib/python3.9/site-packages/pulpcore/tasking/tasks.py”, line 70, in _execute_task\n result = func(*args, **kwargs)\n File “/usr/local/lib/python3.9/site-packages/pulp_rpm/app/tasks/synchronizing.py”, line 568, in synchronize\n repo_version = dv.create() or repo.latest_version()\n File “/usr/local/lib/python3.9/site-packages/pulpcore/plugin/stages/declarative_version.py”, line 161, in create\n loop.run_until_complete(pipeline)\n File “/usr/local/lib/python3.9/site-packages/pulpcore/app/models/repository.py”, line 1207, in exit\n repository.finalize_new_version(self)\n File “/usr/local/lib/python3.9/site-packages/pulp_rpm/app/models/repository.py”, line 419, in finalize_new_version\n validate_duplicate_content(new_version)\n File “/usr/local/lib/python3.9/site-packages/pulpcore/plugin/repo_version_utils.py”, line 107, in validate_duplicate_content\n raise ValueError(\n",
“description”: “Cannot create repository version. More than one rpm.package content with the duplicate values for name, epoch, version, release, arch, location_href.”
}
Any idea how to narrow down or find what that duplicate entry is so it can be cleared out?
Expected outcome:
More details on what the duplicate value is so it can be cleared
Pulpcore version:
3.54.0
Pulp plugins installed and their versions:
“component”: “ansible”,
“version”: “0.21.5”,
“component”: “container”,
“version”: “2.20.0”,
“component”: “deb”,
“version”: “3.2.0”,
“component”: “gem”,
“version”: “0.5.1”,
“component”: “maven”,
“version”: “0.8.0”,
“component”: “ostree”,
“version”: “2.3.0”,
“component”: “python”,
“version”: “3.11.1”,
“component”: “rpm”,
“version”: “3.25.3”,
“component”: “certguard”,
“version”: “3.54.0”,
“component”: “file”,
“version”: “3.54.0”,
Operating system - distribution and version:
Red Hat Enterprise Linux release 9.4
Other relevant data: