Cannot create repository version. Path is duplicated

Problem:
If a repository contains at least two packages with the same name the repo sync fails with the message:

Cannot create repository version. Path is duplicated: rubygem-rspec-expectations-doc-3.5.0-1.el7.1.noarch.rpm.

e.g: http://mirror.centos.org/centos/7/opstools/x86_64/ contains rubygem-rspec-expectations-doc-3.5.0-1.el7.1.noarch.rpm. in two paths. (/x86_64/logging/ & /x86_64/sensu)

Maybe my pulp packages cause this problem.

Expected outcome:
Sync all packages from a given repo.
Foreman and Proxy versions:

  • foreman-2.3.1-1.el7.noarch
  • foreman-proxy-2.3.1-1.el7.noarch

Foreman and Proxy plugin versions:

  • katello-3.18.0-1.el7.noarch
    All pulp packages on the server:
  • pulp-client-1.0-1.noarch
  • pulpcore-selinux-1.2.3-2.el7.x86_64
  • pulp-docker-plugins-3.2.8-1.el7.noarch
  • pulp-katello-1.0.3-1.el7.noarch
  • pulp-puppet-plugins-2.21.4-1.el7.noarch
  • pulp-puppet-tools-2.21.4-1.el7.noarch
  • pulp-rpm-plugins-2.21.4-2.el7.noarch
  • pulp-selinux-2.21.4-2.el7.noarch
  • pulp-server-2.21.4-2.el7.noarch
  • python3-pulp-2to3-migration-0.6.0-1.el7.noarch
  • python3-pulp-certguard-1.0.3-1.el7.noarch
  • python3-pulp-container-2.1.0-1.el7.noarch
  • python3-pulpcore-3.7.3-1.el7.noarch
  • python3-pulp-file-1.3.0-1.el7.noarch
  • python3-pulp-rpm-3.7.0-1.el7.noarch
  • python-pulp-common-2.21.4-2.el7.noarch
  • python-pulp-docker-common-3.2.8-1.el7.noarch
  • python-pulp-oid_validation-2.21.4-2.el7.noarch
  • python-pulp-puppet-common-2.21.4-1.el7.noarch
  • python-pulp-repoauth-2.21.4-2.el7.noarch
  • python-pulp-rpm-common-2.21.4-2.el7.noarch
  • python-pulp-streamer-2.21.4-2.el7.noarch
  • tfm-rubygem-pulp_2to3_migration_client-0.5.0-1.el7.noarch
  • tfm-rubygem-pulp_ansible_client-0.4.2-1.el7.noarch
  • tfm-rubygem-pulp_certguard_client-1.0.3-1.el7.noarch
  • tfm-rubygem-pulp_container_client-2.1.0-1.el7.noarch
  • tfm-rubygem-pulpcore_client-3.7.1-1.el7.noarch
  • tfm-rubygem-pulp_deb_client-2.7.0-1.el7.noarch
  • tfm-rubygem-pulp_file_client-1.3.0-1.el7.noarch
  • tfm-rubygem-pulp_rpm_client-3.7.0-1.el7.noarch
  • tfm-rubygem-smart_proxy_pulp-2.1.0-3.fm2_2.el7.noarch

Distribution and version:
CentOS Linux release 7.9.2009
Other relevant data:
I can sync repos with distinct packages without any problem.
This should have been fixed in Katello 3.16 with https://pulp.plan.io/issues/6303
I was running 3.17 and upgraded to 3.18 but the problem still persists.

Hi @greg,

I was able to reproduce this issue on the latest Katello with pulp-rpm 3.7.0. I’ve created a new Pulp 3 issue here: https://pulp.plan.io/issues/8043

1 Like

That issue was closed as a duplicate. Here’s the actual issue: https://pulp.plan.io/issues/7208

1 Like