Topic: /etc/yum.repo.d/remi.repo problem on EL6

repo config bug report:

On a SL6.3 system (SL and CentOS are both siblings derived from RHEL6), installing remi-release-6.rpm doesn't work out of the box.  The problem is that the URLs for the repo in the /etc/yum.repo.d/remi.repo file use the "$releasever" macro in the baseurl and mirror definitions.   This resolves to, for example:

  mirrorlist=http://rpms.famillecollet.com/enterprise/6.3/remi/mirror

which doesn't exist.  Replacing the "$releasever" macro with a hardcoded "6" does work.

(arg - the forum software won't let me type out the above mirrorlist variable with the "6.3" replaced with a simple "6".  complains of "Too more links in message. Allowed 1 links. Reduce number of links and post it again." even though I want it to be a literal not a link.  So, perform that particular "sed" operation mentally instead)

Since there is already a sub-version independent remi-release-6.rpm, I suggest hard-coding the "6" in there as well, unless there are plans to make different repos for the various 6.x sub-versions.  Or, adding symlinks on the repo server to redirect 6.x requests to the directories which do exist, means you won't have to re-distribute a conf file setup rpm.

Haven't tested if this affects CentOS and RHEL as well, but to the best of my knowledge the rpm macros aren't something Fermilab tinkers with when redistributing things as SL.

  Alec

PS - thanks for making this stuff available: especially as RH's use of firefox-10 moves further away from the release version of firefox, more people will need your work.

Re: /etc/yum.repo.d/remi.repo problem on EL6

The fix is trivial, just fix the mirrorlist
(the http://rpms.famillecollet.com/enterprise/6/remi/mirror file is ok with hardcode release)

As this only affects SL, I don't plan to realease a new remi-release-6.rpm immediately

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: /etc/yum.repo.d/remi.repo problem on EL6

Well... link added
So http://rpms.famillecollet.com/enterpris … emi/mirror works

Just need to not forget the 6.4 link in a few weeks/months

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