# Additional Repo on client

**URL:** https://forums.suse.com/t/additional-repo-on-client/44294
**Category:** SUSE Liberty Linux
**Created:** [October 13, 2024, 4:36am UTC](https://forums.suse.com/t/additional-repo-on-client/44294 "2024-10-13T04:36:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Zulu](https://avatars.discourse-cdn.com/v4/letter/z/a9adbd/32.png) [@Zulu](https://forums.suse.com/u/Zulu)
#### Post date: [October 13, 2024, 4:36am UTC](https://forums.suse.com/t/additional-repo-on-client/44294/1 "2024-10-13T04:36:43Z")

</div>

Can i get additional repo on client from other than RMT server by simple creating correct .repo file in /etc/yum.repo.d/ and is it a valid approach? I did try creating one and got some errors so I wanted to confirm if it is something that can be done before troubleshooting the issue.

---

<div class="post-metadata">

### Author: ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)
#### Post date: [October 15, 2024, 5:33pm UTC](https://forums.suse.com/t/additional-repo-on-client/44294/2 "2024-10-15T17:33:35Z")

</div>

It’s definitely possible to have multiple .repo files configured with different repositories. What errors did you see?

---

<div class="post-metadata">

### Author: ![Zulu](https://avatars.discourse-cdn.com/v4/letter/z/a9adbd/32.png) [@Zulu](https://forums.suse.com/u/Zulu)
#### Post date: [October 16, 2024, 7:53am UTC](https://forums.suse.com/t/additional-repo-on-client/44294/3 "2024-10-16T07:53:37Z")

</div>

Thanks for the response @smflood . I am able to add custom repos and some are working correctly. For some, I get the below error when I try to sync mirror  
Below is the example of EPEL 7 repo

```auto
 rmt-cli mirror repository epel7
W, [2024-10-16T07:45:45.485680 #132266] WARN -- : The following errors occurred while mirroring:
W, [2024-10-16T07:45:45.485770 #132266] WARN -- : Repository 'epel7' (epel7): Unknown repository type.
W, [2024-10-16T07:45:45.485796 #132266] WARN -- : Mirroring completed with errors.
The command exited with errors.

```

URL for epel repo I added

```auto
 https://archives.fedoraproject.org/pub/archive/epel/7.9/x86_64/

```

It was giving me a similar error for MariaDB repository when I was using [mirror.mariadb.com](http://mirror.mariadb.com) instead of [dlm.mariadb.com](http://dlm.mariadb.com) as the repo URL which leads me to believe It’s something similar going on with EPEL, but I guess the error is not very informative.

---

<div class="post-metadata">

### Author: ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)
#### Post date: [October 16, 2024, 6:40pm UTC](https://forums.suse.com/t/additional-repo-on-client/44294/4 "2024-10-16T18:40:03Z")

</div>

On a test SLES15 SP6 server with RMT I was just able to add a custom repo using that URL for the archived CentOS 7 EPEL repo

`rmt-cli repos custom add https://archives.fedoraproject.org/pub/archive/epel/7.9/x86_64/ CentOS7-EPEL`

then start mirroring it using `rmt-cli mirror` with content successfully being pulled.

Note that since this was a new server I set up as a test I didn’t (need to) register with SCC within RMT.

---

<div class="post-metadata">

### Author: ![Zulu](https://avatars.discourse-cdn.com/v4/letter/z/a9adbd/32.png) [@Zulu](https://forums.suse.com/u/Zulu)
#### Post date: [October 17, 2024, 8:26am UTC](https://forums.suse.com/t/additional-repo-on-client/44294/5 "2024-10-17T08:26:10Z")

</div>

I found the problem. It was my stupid squid blocking the URL. Should have realised this sooner, but the error on RMT threw me off. Nonetheless, much grateful for you to help me here @smflood
