Topic: Could not retrieve mirrorlist http://rpms.famillecollet.com/enterprise

Hello
I installed epel and remi as instructed at linuxdrops.com/how-to-add-epel-and-remi-repository-to-centos
And i have the following error:

Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://rpms.famillecollet.com/enterprise/5/remi/mirror0 error was
[Errno 14] HTTP Error 404: Not Found

And yum repolist say:
repo id        repo name                                                  status
base           CentOS-5 - Base                                            0
epel           Extra Packages for Enterprise Linux 5 - i386               0
extras         CentOS-5 - Extras                                          0
hw-extras      CentOS-5-i386-extras                                       0
hw-os          CentOS-5-i386-os                                           0
hw-updates     CentOS-5-i386-updates                                      0
remi           Les RPM de remi pour Enterprise Linux 5 - i386             0
remi-test      Les RPM de remi en test pour Enterprise Linux 5 - i386     0
updates        CentOS-5 - Updates           

What to do? Thanks

Re: Could not retrieve mirrorlist http://rpms.famillecollet.com/enterprise

post the content of remi.repo file, but I don't understand why "...mirror0" (should not have the trailing 0)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Could not retrieve mirrorlist http://rpms.famillecollet.com/enterprise

[remi]
name=Les RPM de remi pour Enterprise Linux 5 - $basearch
#baseurl=rpms.famillecollet.com/enterprise/5/remi/$basearch/
mirrorlist=rpms.famillecollet.com/enterprise/5/remi/mirror0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

[remi-test]
name=Les RPM de remi en test pour Enterprise Linux 5 - $basearch
#baseurl=rpms.famillecollet.com/enterprise/5/test/$basearch/
mirrorlist=rpms.famillecollet.com/enterprise/5/test/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

[remi-debuginfo]
name=Les RPM de remi pour Enterprise Linux 5 - $basearch - debuginfo
baseurl=rpms.famillecollet.com/enterprise/5/debug-remi/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

[remi-test-debuginfo]
name=Les RPM de remi en test pour Enterprise Linux 5 - $basearch - debuginfo
baseurl=rpms.famillecollet.com/enterprise/5/debug-test/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

Re: Could not retrieve mirrorlist http://rpms.famillecollet.com/enterprise

Look like a editor error.

So, delete the trailing 0
It seems the "enabled" line also disapear.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Could not retrieve mirrorlist http://rpms.famillecollet.com/enterprise

Thanks for help. Is ok now.

Re: Could not retrieve mirrorlist http://rpms.famillecollet.com/enterprise

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi