Topic: Unable to update repo - repo not found error - CentOS 5

Hi,

I'm running a fairly up-to-date CentOS 5 installation and yesterday the remi repo was still working fine, but today I'm getting the following:

Could not retrieve mirrorlist http://rpms.famillecollet.com/fedora/5.0/remi/mirror error was
[Errno 14] HTTP Error 404: Not Found

I found the problem is because of the '5.0' rather '5' being entered. I'm wondering whether this was a recent update to CentOS which made this problem appear or I've done something I shouldn't have.

Thanks,
Ronald

Re: Unable to update repo - repo not found error - CentOS 5

You shouldn't have a "fedora" in the URL, but a "enterprise". Check your remi.repo file.

I don't understand why your "releasever" is 5.0, should be 5.

Fix it in the remi.repo file (replace $releasever by 5)

+

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: Unable to update repo - repo not found error - CentOS 5

Thanks for the prompt reply. I've updated the file to say 5 instead but in http://rpms.famillecollet.com/enterprise/5/test/mirror it uses $releasever as well. Is there a way to specify that variable?

http://remi-mirror.dedipower.com/enterp … .i386.rpm: [Errno 14] HTTP Error 404: Not Found

I cannot install packages now as it'll say "No more mirrors to try."

Re: Unable to update repo - repo not found error - CentOS 5

Use baseurl instead of mirrorlist.

+

P.S. with releasever=5.0 you should also encounter problem with CentOS repository
See http://mirror.mojohost.com/centos/5.0/readme

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: Unable to update repo - repo not found error - CentOS 5

Many thanks. I've updated my release version which solved all the issue. Previously was frozed at 5.0.