Re: EPEL RHEL 9 mirror error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





El El vie, 23 de septiembre de 2022 a la(s) 3:30 p.m., Stephen Smoogen <ssmoogen@xxxxxxxxxx> escribió:


On Fri, 23 Sept 2022 at 16:23, Nick Jahn <nick.jahn@xxxxxxxxxxx> 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=$basearch&infra=$infra&content=$contentdir
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&arch=$basearch&infra=$infra&content=$contentdir
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&arch=$basearch&infra=$infra&content=$contentdir
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@xxxxxxxxxx>
Sent: Friday, September 23, 2022 2:38 PM
To: EPEL Development List <epel-devel@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: [EPEL-devel] Re: EPEL RHEL 9 mirror error
 


On Fri, 23 Sept 2022 at 15:09, Nick Jahn <nick.jahn@xxxxxxxxxxx> 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@xxxxxxxxxx>
Sent: Friday, September 23, 2022 1:21 PM
To: EPEL Development List <epel-devel@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: [EPEL-devel] Re: EPEL RHEL 9 mirror error
 
On Fri, Sep 23, 2022 at 10:37 AM Nick Jahn <nick.jahn@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux