CentALTリポジトリが403エラーとなっている

Apache2.2.23をインストールしようとしたところ、なぜかインストールできませんでした。エラー文がでてしまいます。その対処方となります

CentALTってなに

CentALTリポジトリは、Apacheの最新版がインストールできるリポジトリです。設定方法は以下になります。

[c] [root@wwwui ~]# rpm -ihv http://dl.fedoraproject.org/pub/epel/6/x86\_64/epel-release-6-8.noarch.rpm (32bitの場合↓) [root@wwwui ~]# rpm -ihv http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm [/c] [c] [root@wwwui ~]# vi /etc/yum.repos.d/centos.alt.ru.repo [CentALT] name=CentALT Packages for Enterprise Linux 6 - $basearch baseurl=http://centos.alt.ru/repository/centos/6/$basearch/ enabled=0 gpgcheck=0 [/c]

保存後、yum install httpd --enablerepo=CentALTにてインストールできるようになります。ところがインストールするとエラーとなります。

エラー文

[c] [root@wwwui ~]# yum --enablerepo=CentALT install httpd Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: ftp.tsukuba.wide.ad.jp * extras: ftp.tsukuba.wide.ad.jp * updates: ftp.tsukuba.wide.ad.jp http://centos.alt.ru/repository/centos/6/x86\_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: CentALT. Please verify its path and try again [/c] とでます。CentALTのページにアクセスをすると403エラーとなってしまいます。これではインストールできません。そこで以下の方法に書き換えます。

書き換え

[c] [CentALT] name=CentALT Packages for Enterprise Linux 6 - $basearch #baseurl=http://centos.alt.ru/repository/centos/6/$basearch/ baseurl=http://mirror.sysadminguide.net/centalt/repository/centos/6/$basearch/ enabled=0 gpgcheck=0 [/c] baseurlを変更しただけになります。これでできるようになります。

参考サイト