はじめて質問させていただきます。
yumコマンドでphpを5.4から5.6へアップグレードしようとしてますが
libyamlのダウンロードができず途中で失敗します。
どなたかアドバイスいただけませんでしょうか。
何卒宜しくお願い致します。
CentOS release 6.6 (Final)です。
■remi、epelリポジトリの更新
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6*.rpm
rpm -Uvh remi-release-6*.rpm
■remi php5.6を指定
vi /etc/yum.repos.d/remi.repo
[remi-php56]
name=Les RPM de remi de PHP 5.6 pour Enterprise Linux 6 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/6/php56/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/6/php56/mirror
WARNING: If you enable this repository, you must also enable "remi"
enabled=1 ← 1に変更
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
■アップグレード実行
yum update -y
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 error was
14: problem making ssl connection
途中省略
http://mirrors.123host.vn/epel/6/x86_64/libyaml-devel-0.1.6-1.el6.x86_64.rpm: [Errno 12] Timeout on http://mirrors.123host.vn/epel/6/x86_64/libyaml-devel-0.1.6-1.el6.x86_64.rpm: (28, 'connect() timed out!')
Trying other mirror.
Error Downloading Packages:
libyaml-0.1.6-1.el6.x86_64: failure: libyaml-0.1.6-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
libyaml-devel-0.1.6-1.el6.x86_64: failure: libyaml-devel-0.1.6-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/06/27 10:19 編集