Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way to assign one child channel to multiply parent channels, basically I don't want to duplicate channels (EPEL):

How can I achieve something like this:

CentOS 6 - x86_64
|- CentOS 6 x86_64 - Updates
|- EPEL 6 x86_64

Scientific Linux - x86_64
|- Scientific Linux - x86_64 - Updates
|- EPEL EL 6 x86_64
share|improve this question

1 Answer 1

up vote 1 down vote accepted

You cannot have one child channel (same label) assigned to two parent channels. However, you can have one repository in sync with two child channels.

If you want to achieve something such as what you mentioned:

  1. Create both the parent channels, CentOS6_x86_64, and ScientificLinux_x86-64
  2. Create first child channel with label epel_6_x86_64, and choose CentOS6_x86_64 as your parent channel.
  3. Create second child channel with label epel_el_6_x86_64, and choose ScientificLinux_x86_64 as your parent channel.
  4. Create a repo named epel6_repo ( I assume you already did that from manage repositories tab)
  5. Now, go to each of the child channels' page, select repositories tab, select the same reposotory epel6_repo for both the channels, update repositories, and sync.

You'll achieve what you wanted. Here, we are accessing the same repo from two parent channels, with different names.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.