On Fri, 23 Sept 2022 at 16:28, Nick Jahn <nick.jahn@hotmail.com> wrote:
Just deleted the files, and retried it, and now I'm getting this.


# dnf remove epel-release
then
#  dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -y
 
[root@*hiden* yum.repos.d]# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -y
Updating Subscription Management repositories.
created by dnf config-manager from https://dl.fedoraproject.org/pub/epel/9/x86_64/                                                                                   3.2 MB/s |  10 MB     00:03
Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)                                                                                                              10 kB/s | 4.1 kB     00:00
Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)                                                                                                                 13 kB/s | 4.1 kB     00:00
Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs)                                                                                                             8.4 kB/s | 4.0 kB     00:00
epel-release-latest-9.noarch.rpm                                                                                                                                      32 kB/s |  18 kB     00:00
Dependencies resolved.
=====================================================================================================================================================================================================
 Package                                           Architecture                                Version                                       Repository                                         Size
=====================================================================================================================================================================================================
Installing:
 epel-release                                      noarch                                      9-4.el9                                       @commandline                                       18 k

Transaction Summary
=====================================================================================================================================================================================================
Install  1 Package

Total size: 18 k
Installed size: 25 k
Downloading Packages:
Public key for epel-release-latest-9.noarch.rpm is not installed
Error: GPG check FAILED


Nicholas Jahn
IT professional
A.S. Network Specialist (www.madisoncollege.edu)

From: Stephen Smoogen <ssmoogen@redhat.com>
Sent: Friday, September 23, 2022 2:38 PM
To: EPEL Development List <epel-devel@lists.fedoraproject.org>
Subject: [EPEL-devel] Re: EPEL RHEL 9 mirror error
 


On Fri, 23 Sept 2022 at 15:09, Nick Jahn <nick.jahn@hotmail.com> wrote:
Brand new server, followed guide from EPEL setting it up, first added repo to server.


Hmmm, which guide to setting EPEL up has this? The one that should be used is at https://docs.fedoraproject.org/en-US/epel/#_el9 and I will sort of copy what it says here:

```
#  if you are running Alma/Rocky/EuroLinux you would do
sudo dnf config-manager --set-enabled crb
# else if you are running RHEL9
sudo subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
#
```
will install the correct file in /etc/yum.repos.d/ which should have the correct permissions


 
Tried your suggestion, and I get this.

bash: cd: /etc/yum/repos.d/: No such file or directory

That should be /etc/yum.repos.d not /etc/yum/repos.d/
 

Nicholas Jahn
IT professional
A.S. Network Specialist (www.madisoncollege.edu)

From: Troy Dawson <tdawson@redhat.com>
Sent: Friday, September 23, 2022 1:21 PM
To: EPEL Development List <epel-devel@lists.fedoraproject.org>
Subject: [EPEL-devel] Re: EPEL RHEL 9 mirror error
 
On Fri, Sep 23, 2022 at 10:37 AM Nick Jahn <nick.jahn@hotmail.com> wrote:
Errors during downloading metadata for repository 'dl.fedoraproject.org_pub_epel_9_x86_64_':
Error: Failed to download metadata for repo 'dl.fedoraproject.org_pub_epel_9_x86_64_': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried


That URL is wrong, it should be https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/repodata/repomd.xml

Looking at the name, and the URL, that is from a custom repo config file.

The easiest way to spot that is the name 'dl.fedoraproject.org_pub_epel_9_x86_64_'
It should be "Extra Packages for Enterprise Linux 9 - x86_64"
You should contact the machine's administrator.
If you are the machine's administrator, then I would search for dl.fedoraproject.org in a file in /etc/yum.repos.d/ and fix the repo file.

Troy

_______________________________________________
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue


--
Stephen Smoogen, Red Hat Automotive
Let us be kind to one another, for most of us are fighting a hard battle. -- Ian MacClaren
_______________________________________________
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue


--
Stephen Smoogen, Red Hat Automotive
Let us be kind to one another, for most of us are fighting a hard battle. -- Ian MacClaren