On Fri, 23 Sept 2022 at 15:09, Nick Jahn <nick.j...@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
#
dnf install
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
```
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 <tdaw...@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.j...@hotmail.com> wrote:
>
> Errors during downloading metadata for repository
> 'dl.fedoraproject.org_pub_epel_9_x86_64_':
>   - Status code: 404 for
> https://dl.fedoraproject.org/pub/epel/9/x86_64/repodata/repomd.xml
> <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdl.fedoraproject.org%2Fpub%2Fepel%2F9%2Fx86_64%2Frepodata%2Frepomd.xml&data=05%7C01%7C%7C5e0fadac30354f6b231c08da9d9071b6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637995541040102014%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xxgwBSp7Wy7LDD4ZXSCuUV6WE6ff1RnB5etZ0n24MLo%3D&reserved=0>
> (IP: 38.145.60.24)
> 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
> <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdl.fedoraproject.org%2Fpub%2Fepel%2F9%2FEverything%2Fx86_64%2Frepodata%2Frepomd.xml&data=05%7C01%7C%7C5e0fadac30354f6b231c08da9d9071b6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637995541040258252%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0p7vWej0JwW19EC%2BeD%2Fg1594cQskrlX0fw5d%2Be5FnLY%3D&reserved=0>
>
>
> 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
> <https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdl.fedoraproject.org%2F&data=05%7C01%7C%7C5e0fadac30354f6b231c08da9d9071b6%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637995541040258252%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=TpP8FEIjtIBiDOTHPZYX7QQD98GycO29w7ItNcWsItg%3D&reserved=0>
> 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-le...@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-le...@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

Reply via email to