Issue #3928
closedsupport multiple repos/relases with same feed
Description
added first:
pulp-admin deb repo create --repo-id 'trusty' --feed 'http://nl.archive.ubuntu.com/ubuntu' --releases 'trusty' --components 'security' --architectures 'amd64'
addec second:
pulp-admin deb repo create --repo-id 'bionic-security-amd64' --feed 'http://nl.archive.ubuntu.com/ubuntu' --releases 'bionic' --components 'security' --architectures 'amd64'
Error
Relative URL [ubuntu] for repository [bionic-security-amd64] conflicts with
existing relative URL [/ubuntu] for repository [xenial-amd64]
Updated by quba42 over 5 years ago
Not sure this is a bug?
You can just add an alternative relative url using the "--relative-url" flag in the second command.
You can also create a single repository containing both your examples as follows:
pulp-admin deb repo create --repo-id 'combination_example' --feed 'http://nl.archive.ubuntu.com/ubuntu' --releases 'trusty,bionic' --components 'security' --architectures 'amd64' --relative-url '/some_unused_relative_url'
Does that solve your problem?
Updated by mihai.ibanescu@gmail.com over 5 years ago
I agree with quba42's assessment. You probably want to sync both of those in the same pulp repo, otherwise you may duplicate a lot of packages between the pools.
Please reopen if you believe there is a bug.
Updated by mihai.ibanescu@gmail.com over 5 years ago
- Status changed from NEW to CLOSED - NOTABUG