CentOSでLoaded plugins: fastestmirror, securityが出たときの対処方

CentOS6を使っていて、yumを使ってPHP関係をインストールしようとしたら以下のエラーが出ました。

Loaded plugins: fastestmirror, security


Error getting repository data for remi-php55, repository not found

いきなりでてなんだこれは??となりました。

対処方

remiのアップデート

# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

これでその後コマンドが使えるようになりました。ちなみに実行したコマンドは以下になります。

アップデート前

# yum -y install --enablerepo=remi-php55 php-pear
Loaded plugins: fastestmirror, security


Error getting repository data for remi-php55, repository not found

エラー状態

remiアップデート

# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
http://rpms.famillecollet.com/enterprise/remi-release-6.rpm を取得中
警告: /var/tmp/rpm-tmp.BPu98c: ヘッダ V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
準備中...                ########################################### [100%]
   1:remi-release           ########################################### [100%]

remiアップデート後

# yum install php-pear --enablerepo=remi-php55
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: ftp.nara.wide.ad.jp
 * extras: ftp.nara.wide.ad.jp
 * remi-php55: remi.kazukioishi.net
 * updates: ftp.nara.wide.ad.jp
remi-php55                                                                                                                                                                          | 2.9 kB     00:00     
remi-php55/primary_db                                                                                                                                                               | 165 kB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pear.noarch 1:1.9.4-20.el6.remi will be installed
--> Processing Dependency: php-xml for package: 1:php-pear-1.9.4-20.el6.remi.noarch
--> Processing Dependency: php-posix for package: 1:php-pear-1.9.4-20.el6.remi.noarch
--> Processing Dependency: php-cli for package: 1:php-pear-1.9.4-20.el6.remi.noarch
--> Running transaction check
---> Package php-cli.x86_64 0:5.5.17-2.el6.remi will be installed
--> Processing Dependency: php-common(x86-64) = 5.5.17-2.el6.remi for package: php-cli-5.5.17-2.el6.remi.x86_64
---> Package php-process.x86_64 0:5.5.17-2.el6.remi will be installed
---> Package php-xml.x86_64 0:5.5.17-2.el6.remi will be installed
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php-xml-5.5.17-2.el6.remi.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: php-xml-5.5.17-2.el6.remi.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php-xml-5.5.17-2.el6.remi.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php-xml-5.5.17-2.el6.remi.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php-xml-5.5.17-2.el6.remi.x86_64
--> Processing Dependency: libxslt.so.1()(64bit) for package: php-xml-5.5.17-2.el6.remi.x86_64
--> Processing Dependency: libexslt.so.0()(64bit) for package: php-xml-5.5.17-2.el6.remi.x86_64
--> Running transaction check
---> Package libxslt.x86_64 0:1.1.26-2.el6_3.1 will be installed
---> Package php-common.x86_64 0:5.5.17-2.el6.remi will be installed
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.17-2.el6.remi.x86_64
--> Processing Dependency: php-pecl-jsonc(x86-64) for package: php-common-5.5.17-2.el6.remi.x86_64
--> Running transaction check
---> Package php-pecl-jsonc.x86_64 0:1.3.6-1.el6.remi.5.5.1 will be obsoleting
---> Package php-pecl-zip.x86_64 0:1.12.4-1.el6.remi.5.5 will be installed
---> Package php55u-pecl-jsonc.x86_64 0:1.3.5-1.ius.centos6 will be obsoleted
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================================================================
 Package                                           Arch                                      Version                                                   Repository                                     Size
===========================================================================================================================================================================================================
Installing:
 php-pear                                          noarch                                    1:1.9.4-20.el6.remi                                       remi-php55                                    371 k
 php-pecl-jsonc                                    x86_64                                    1.3.6-1.el6.remi.5.5.1                                    remi-php55                                     47 k
     replacing  php55u-pecl-jsonc.x86_64 1.3.5-1.ius.centos6
Installing for dependencies:
 libxslt                                           x86_64                                    1.1.26-2.el6_3.1                                          base                                          452 k
 php-cli                                           x86_64                                    5.5.17-2.el6.remi                                         remi-php55                                    3.7 M
 php-common                                        x86_64                                    5.5.17-2.el6.remi                                         remi-php55                                    1.0 M
 php-pecl-zip                                      x86_64                                    1.12.4-1.el6.remi.5.5                                     remi-php55                                    269 k
 php-process                                       x86_64                                    5.5.17-2.el6.remi                                         remi-php55                                     56 k
 php-xml                                           x86_64                                    5.5.17-2.el6.remi                                         remi-php55                                    207 k

Transaction Summary
===========================================================================================================================================================================================================
Install       8 Package(s)

Total download size: 6.1 M
Is this ok [y/N]: 

使えるようになりました。

個人支援・寄付について

サイトラボではBuildreeの開発などのため、現在個人支援・寄付を受けております。ご協力いただける方はお願いいたします。当サイトではkyashというサービスをつかっております。ビットコインでも受け付けております。