Scientific Linux 6 だとremiリポジトリの参照でエラーになる件

# cat /etc/redhat-release 
Scientific Linux release 6.2 (Carbon)
# yum search --enablerepo=remi php
Loaded plugins: security
Could not retrieve mirrorlist http://rpms.famillecollet.com/enterprise/6.2/remi/mirror error was
14: PYCURL ERROR 22 - "The requested URL returned error: 404"
Error: Cannot retrieve repository metadata (repomd.xml) for repository: remi. Please verify its path and try again

mirrorlistはhttp://rpms.famillecollet.com/enterprise/6/remi/mirror が正しいはず。

CentOS 6.2 は問題なし。

workaround

  • /etc/yum.repos.d/remi.repo の$releaseverを"6" に置き換える
  • yum --enablerepo=remi --releasever=6 のオプションをつける