# Yum RHEL repo not exposing packages

**URL:** <https://community.sonatype.com/t/yum-rhel-repo-not-exposing-packages/8729>\
**Category:** Sonatype Nexus Repository\
**Created:** [May 26, 2022, 10:13pm UTC](https://community.sonatype.com/t/yum-rhel-repo-not-exposing-packages/8729 "2022-05-26T22:13:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dion.rowney](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@dion.rowney](https://community.sonatype.com/u/dion.rowney)\
**Post date:** [May 26, 2022, 10:13pm UTC](https://community.sonatype.com/t/yum-rhel-repo-not-exposing-packages/8729/1 "2022-05-26T22:13:31Z")

</div>

I am trying to use nexus to host an rpm in a yum repository.

I Created a simple repo. Used the web page to upload the rpm.

Then added repo file to repos.d folder:

[nexus-dbora]  
name=DBA Oracle repository  
baseurl=https://nexus.domain.local/repository/dbora/  
enabled=1  
gpgcheck=1  
gpgkey=https://rhsm.domain.local/katello/api/v2/repositories/1690/gpg\_key\_content  
priority = 10  
repo\_gpgcheck=0

But cannot see the rpm when doing yum search package.

It is not a proxy from another repo. its rpms we author in house.

any ideas?

---

<div class="post-metadata">

**Author:** ![dion.rowney](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@dion.rowney](https://community.sonatype.com/u/dion.rowney)\
**Post date:** [May 27, 2022, 3:49pm UTC](https://community.sonatype.com/t/yum-rhel-repo-not-exposing-packages/8729/2 "2022-05-27T15:49:04Z")

</div>

Never mind - Someone has placed a:

exclude=oracle-rdbms-19\*

in the yum.conf

Solved. nexus ok.
