Project

Profile

Help

Issue #3928

support multiple repos/relases with same feed

Added by d.noorman@flexyz.com about 2 years ago. Updated 10 months ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Debian:
master
Platform Release:
Target Release - Debian:
OS:
CentOS 7
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Functional Test, Pulp 2
Sprint:
Quarter:

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]

History

#1 Updated by quba42 almost 2 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?

#2 Updated by mihai.ibanescu@gmail.com almost 2 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.

#3 Updated by mihai.ibanescu@gmail.com almost 2 years ago

  • Status changed from NEW to CLOSED - NOTABUG

#4 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF