El El vie, 23 de septiembre de 2022 a la(s) 3:30 p.m., Stephen Smoogen <
ssmoogen(a)redhat.com> escribió:
On Fri, 23 Sept 2022 at 16:23, Nick Jahn <nick.jahn(a)hotmail.com> wrote:
> Yep that is the one, it gave me the repo file that resulted in this.
>
>
OK something is wrong with what you got. I just did it and the file should
look like the following after it was installed:
```
[epel]
name=Extra Packages for Enterprise Linux $releasever - $basearch
# It is much more secure to use the metalink, but if you wish to use a
local mirror
# place its address here.
#baseurl=
https://download.example/pub/epel/$releasever/Everything/$basearch/
metalink=
https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch...
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever
[epel-debuginfo]
name=Extra Packages for Enterprise Linux $releasever - $basearch - Debug
# It is much more secure to use the metalink, but if you wish to use a
local mirror
# place its address here.
#baseurl=
https://download.example/pub/epel/$releasever/Everything/$basearch/debug/
metalink=
https://mirrors.fedoraproject.org/metalink?repo=epel-debug-$releasever&am...
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux $releasever - $basearch - Source
# It is much more secure to use the metalink, but if you wish to use a
local mirror
# place its address here.
#baseurl=
https://download.example/pub/epel/$releasever/Everything/source/tree/
metalink=
https://mirrors.fedoraproject.org/metalink?repo=epel-source-$releasever&a...
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever
gpgcheck=1
```
> Nicholas Jahn
> IT professional
> A.S. Network Specialist (
www.madisoncollege.edu)
> ------------------------------
> *From:* Stephen Smoogen <ssmoogen(a)redhat.com>
> *Sent:* Friday, September 23, 2022 2:38 PM
> *To:* EPEL Development List <epel-devel(a)lists.fedoraproject.org>
> *Subject:* [EPEL-devel] Re: EPEL RHEL 9 mirror error
>
>
>
> On Fri, 23 Sept 2022 at 15:09, Nick Jahn <nick.jahn(a)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
>
<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.fe...
> 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
>
<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdl.fedo...
>
> ```
> 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
>
<
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.madi...
> )
> ------------------------------
> *From:* Troy Dawson <tdawson(a)redhat.com>
> *Sent:* Friday, September 23, 2022 1:21 PM
> *To:* EPEL Development List <epel-devel(a)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(a)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.fedo...
> (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...
>
<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdl.fedo...
>
>
> 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.fedor...
> in a file in /etc/yum.repos.d/ and fix the repo file.
>
> Troy
>
> _______________________________________________
> epel-devel mailing list -- epel-devel(a)lists.fedoraproject.org
> To unsubscribe send an email to epel-devel-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>
<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.fe...
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
>
<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffedorap...
> List Archives:
>
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproj...
>
<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.f...
> Do not reply to spam, report it:
>
https://pagure.io/fedora-infrastructure/new_issue
>
<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpagure....
>
>
>
> --
> 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(a)lists.fedoraproject.org
> To unsubscribe send an email to epel-devel-leave(a)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.fedoraproj...
> 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(a)lists.fedoraproject.org
To unsubscribe send an email to epel-devel-leave(a)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.fedoraproj...
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue