Project

Profile

Help

Issue #3928

closed

support multiple repos/relases with same feed

Added by d.noorman@flexyz.com over 5 years ago. Updated over 4 years 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]

Actions #1

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?

Actions #2

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.

Actions #3

Updated by mihai.ibanescu@gmail.com over 5 years ago

  • Status changed from NEW to CLOSED - NOTABUG
Actions #4

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF