phpMyAdminのインストールで「PYCURL ERROR 22」になる場合の対処
phpMyAdminのインストールで「PYCURL ERROR 22」になる場合の対処方法を紹介します。
1.問題点
yumでphpMyAdminをインストールしようとしたところ、前半は問題なかったのですが、後半で「[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"」というエラーが多発(下記赤色部分)。
# yum -y install phpmyadmin
Loaded plugins: fastestmirror, priorities, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* epel: ftp.iij.ad.jp
* remi-safe: ftp.riken.jp
191 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:3.5.8.2-1.el6 will be installed
--> Processing Dependency: php-mysql >= 5.2.0 for package: phpMyAdmin-3.5.8.2-1.el6.noarch
:
---> Package php-pdo.x86_64 0:5.3.3-50.el6_10 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================
Installing:
phpMyAdmin noarch 3.5.8.2-1.el6 epel 4.3 M
Installing for dependencies:
php x86_64 5.3.3-50.el6_10 updates 1.1 M
php-cli x86_64 5.3.3-50.el6_10 updates 2.2 M
php-common x86_64 5.3.3-50.el6_10 updates 530 k
php-gd x86_64 5.3.3-50.el6_10 updates 112 k
php-mbstring x86_64 5.3.3-50.el6_10 updates 460 k
php-mcrypt x86_64 5.3.3-3.el6 epel 19 k
php-mysql x86_64 5.3.3-50.el6_10 updates 86 k
php-pdo x86_64 5.3.3-50.el6_10 updates 80 k
php-php-gettext noarch 1.0.11-3.el6 epel 21 k
Transaction Summary
===============================================================================================================================================================================
Install 10 Package(s)
Total size: 8.9 M
Total download size: 8.8 M
Installed size: 33 M
Downloading Packages:
(1/9): php-5.3.3-50.el6_10.x86_64.rpm | 1.1 MB 00:01
(2/9): php-cli-5.3.3-50.el6_10.x86_64.rpm | 2.2 MB 00:01
(3/9): php-common-5.3.3-50.el6_10.x86_64.rpm | 530 kB 00:00
(4/9): php-gd-5.3.3-50.el6_10.x86_64.rpm | 112 kB 00:00
(5/9): php-mbstring-5.3.3-50.el6_10.x86_64.rpm | 460 kB 00:00
http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/php-mcrypt-5.3.3-3.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
http://ftp.tsukuba.wide.ad.jp/Linux/fedora/epel/6/x86_64/php-mcrypt-5.3.3-3.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/x86_64/php-mcrypt-5.3.3-3.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/6/x86_64/php-mcrypt-5.3.3-3.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirror.premi.st/epel/6/x86_64/php-mcrypt-5.3.3-3.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
:
http://mirrors.ispros.com.bd/fedora-epel/6/x86_64/phpMyAdmin-3.5.8.2-1.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.ispros.com.bd'"
Trying other mirror.
http://mirrors.vinahost.vn/epel/6/x86_64/phpMyAdmin-3.5.8.2-1.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.vinahost.vn'"
Trying other mirror.
Error Downloading Packages:
php-mcrypt-5.3.3-3.el6.x86_64: failure: php-mcrypt-5.3.3-3.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
php-php-gettext-1.0.11-3.el6.noarch: failure: php-php-gettext-1.0.11-3.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
phpMyAdmin-3.5.8.2-1.el6.noarch: failure: phpMyAdmin-3.5.8.2-1.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
2.原因と対処
これを実行するまでに他のパッケージのアップデートやインストールでyumを多用していて、キャッシュにゴミが残っていたのが原因のようです。
ということで、「yum clean all」を実行。
# yum clean all
Loaded plugins: fastestmirror, priorities, security
Cleaning repos: base epel extras remi-safe updates
Cleaning up Everything
Cleaning up list of fastest mirrors
これで無事インストールできました。
# yum -y install phpmyadmin
Loaded plugins: fastestmirror, priorities, security
Setting up Install Process
Determining fastest mirrors
epel/metalink | 4.7 kB 00:00
* epel: d2lzkl7pfhq30w.cloudfront.net
* remi-safe: ftp.riken.jp
base | 3.7 kB 00:00
base/primary_db | 4.7 MB 00:03
epel | 4.7 kB 00:00
epel/primary_db | 6.1 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 29 kB 00:00
remi-safe | 3.0 kB 00:00
remi-safe/primary_db | 1.2 MB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 12 MB 00:07
107 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:4.0.10.20-1.el6 will be installed
--> Processing Dependency: php(language) < 7 for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php(language) >= 5.2.17 for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-bz2 for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-ctype for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-curl for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-date for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-filter for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-gd for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-hash for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-iconv for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-json for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-libxml for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-mbstring for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-mcrypt for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-mysqli for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-pcre for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-php-gettext for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-session for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-simplexml for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-spl for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-tcpdf for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-tcpdf-dejavu-sans-fonts for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-xmlwriter for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-zip for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Processing Dependency: php-zlib for package: phpMyAdmin-4.0.10.20-1.el6.noarch
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-50.el6_10 will be installed
---> Package php-gd.x86_64 0:5.3.3-50.el6_10 will be installed
---> Package php-mbstring.x86_64 0:5.3.3-50.el6_10 will be installed
---> Package php-mcrypt.x86_64 0:5.3.3-5.el6 will be installed
---> Package php-mysql.x86_64 0:5.3.3-50.el6_10 will be installed
--> Processing Dependency: php-pdo(x86-64) for package: php-mysql-5.3.3-50.el6_10.x86_64
---> Package php-php-gettext.noarch 0:1.0.12-1.el6 will be installed
---> Package php-tcpdf.noarch 0:6.2.26-1.el6 will be installed
--> Processing Dependency: php-bcmath for package: php-tcpdf-6.2.26-1.el6.noarch
--> Processing Dependency: php-composer(fedora/autoloader) for package: php-tcpdf-6.2.26-1.el6.noarch
--> Processing Dependency: php-posix for package: php-tcpdf-6.2.26-1.el6.noarch
--> Processing Dependency: php-tidy for package: php-tcpdf-6.2.26-1.el6.noarch
---> Package php-tcpdf-dejavu-sans-fonts.noarch 0:6.2.26-1.el6 will be installed
--> Processing Dependency: dejavu-sans-fonts for package: php-tcpdf-dejavu-sans-fonts-6.2.26-1.el6.noarch
---> Package php-xml.x86_64 0:5.3.3-50.el6_10 will be installed
--> Running transaction check
---> Package dejavu-sans-fonts.noarch 0:2.33-1.el6 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.33-1.el6 for package: dejavu-sans-fonts-2.33-1.el6.noarch
---> Package php-bcmath.x86_64 0:5.3.3-50.el6_10 will be installed
---> Package php-fedora-autoloader.noarch 0:1.0.1-2.el6 will be installed
---> Package php-pdo.x86_64 0:5.3.3-50.el6_10 will be installed
---> Package php-process.x86_64 0:5.3.3-50.el6_10 will be installed
---> Package php-tidy.x86_64 0:5.3.3-50.el6_10 will be installed
--> Processing Dependency: libtidy-0.99.so.0()(64bit) for package: php-tidy-5.3.3-50.el6_10.x86_64
--> Running transaction check
---> Package dejavu-fonts-common.noarch 0:2.33-1.el6 will be installed
---> Package libtidy.x86_64 0:0.99.0-19.20070615.1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================
Installing:
phpMyAdmin noarch 4.0.10.20-1.el6 epel 4.1 M
Installing for dependencies:
dejavu-fonts-common noarch 2.33-1.el6 base 63 k
dejavu-sans-fonts noarch 2.33-1.el6 base 2.2 M
libtidy x86_64 0.99.0-19.20070615.1.el6 base 127 k
php-bcmath x86_64 5.3.3-50.el6_10 updates 40 k
php-common x86_64 5.3.3-50.el6_10 updates 530 k
php-fedora-autoloader noarch 1.0.1-2.el6 epel 11 k
php-gd x86_64 5.3.3-50.el6_10 updates 112 k
php-mbstring x86_64 5.3.3-50.el6_10 updates 460 k
php-mcrypt x86_64 5.3.3-5.el6 epel 19 k
php-mysql x86_64 5.3.3-50.el6_10 updates 86 k
php-pdo x86_64 5.3.3-50.el6_10 updates 80 k
php-php-gettext noarch 1.0.12-1.el6 epel 22 k
php-process x86_64 5.3.3-50.el6_10 updates 44 k
php-tcpdf noarch 6.2.26-1.el6 epel 2.8 M
php-tcpdf-dejavu-sans-fonts noarch 6.2.26-1.el6 epel 315 k
php-tidy x86_64 5.3.3-50.el6_10 updates 41 k
php-xml x86_64 5.3.3-50.el6_10 updates 108 k
Transaction Summary
===============================================================================================================================================================================
Install 18 Package(s)
Total download size: 11 M
Installed size: 44 M
Downloading Packages:
(1/18): dejavu-fonts-common-2.33-1.el6.noarch.rpm | 63 kB 00:00
(2/18): dejavu-sans-fonts-2.33-1.el6.noarch.rpm | 2.2 MB 00:01
(3/18): libtidy-0.99.0-19.20070615.1.el6.x86_64.rpm | 127 kB 00:00
(4/18): php-bcmath-5.3.3-50.el6_10.x86_64.rpm | 40 kB 00:00
(5/18): php-common-5.3.3-50.el6_10.x86_64.rpm | 530 kB 00:00
(6/18): php-fedora-autoloader-1.0.1-2.el6.noarch.rpm | 11 kB 00:00
(7/18): php-gd-5.3.3-50.el6_10.x86_64.rpm | 112 kB 00:00
(8/18): php-mbstring-5.3.3-50.el6_10.x86_64.rpm | 460 kB 00:00
(9/18): php-mcrypt-5.3.3-5.el6.x86_64.rpm | 19 kB 00:00
(10/18): php-mysql-5.3.3-50.el6_10.x86_64.rpm | 86 kB 00:00
(11/18): php-pdo-5.3.3-50.el6_10.x86_64.rpm | 80 kB 00:00
(12/18): php-php-gettext-1.0.12-1.el6.noarch.rpm | 22 kB 00:00
(13/18): php-process-5.3.3-50.el6_10.x86_64.rpm | 44 kB 00:00
(14/18): php-tcpdf-6.2.26-1.el6.noarch.rpm | 2.8 MB 00:01
(15/18): php-tcpdf-dejavu-sans-fonts-6.2.26-1.el6.noarch.rpm | 315 kB 00:01
(16/18): php-tidy-5.3.3-50.el6_10.x86_64.rpm | 41 kB 00:00
(17/18): php-xml-5.3.3-50.el6_10.x86_64.rpm | 108 kB 00:00
(18/18): phpMyAdmin-4.0.10.20-1.el6.noarch.rpm | 4.1 MB 00:14
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 441 kB/s | 11 MB 00:25
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-common-5.3.3-50.el6_10.x86_64 1/18
Installing : php-mbstring-5.3.3-50.el6_10.x86_64 2/18
Installing : php-xml-5.3.3-50.el6_10.x86_64 3/18
Installing : php-gd-5.3.3-50.el6_10.x86_64 4/18
Installing : php-php-gettext-1.0.12-1.el6.noarch 5/18
Installing : php-fedora-autoloader-1.0.1-2.el6.noarch 6/18
Installing : php-mcrypt-5.3.3-5.el6.x86_64 7/18
Installing : php-process-5.3.3-50.el6_10.x86_64 8/18
Installing : php-pdo-5.3.3-50.el6_10.x86_64 9/18
Installing : php-mysql-5.3.3-50.el6_10.x86_64 10/18
Installing : php-bcmath-5.3.3-50.el6_10.x86_64 11/18
Installing : dejavu-fonts-common-2.33-1.el6.noarch 12/18
Installing : dejavu-sans-fonts-2.33-1.el6.noarch 13/18
Installing : libtidy-0.99.0-19.20070615.1.el6.x86_64 14/18
Installing : php-tidy-5.3.3-50.el6_10.x86_64 15/18
Installing : php-tcpdf-6.2.26-1.el6.noarch 16/18
Installing : php-tcpdf-dejavu-sans-fonts-6.2.26-1.el6.noarch 17/18
Installing : phpMyAdmin-4.0.10.20-1.el6.noarch 18/18
Verifying : php-xml-5.3.3-50.el6_10.x86_64 1/18
Verifying : dejavu-sans-fonts-2.33-1.el6.noarch 2/18
Verifying : php-fedora-autoloader-1.0.1-2.el6.noarch 3/18
Verifying : php-tcpdf-dejavu-sans-fonts-6.2.26-1.el6.noarch 4/18
Verifying : php-tcpdf-6.2.26-1.el6.noarch 5/18
Verifying : libtidy-0.99.0-19.20070615.1.el6.x86_64 6/18
Verifying : php-mysql-5.3.3-50.el6_10.x86_64 7/18
Verifying : php-tidy-5.3.3-50.el6_10.x86_64 8/18
Verifying : php-mcrypt-5.3.3-5.el6.x86_64 9/18
Verifying : php-process-5.3.3-50.el6_10.x86_64 10/18
Verifying : php-common-5.3.3-50.el6_10.x86_64 11/18
Verifying : phpMyAdmin-4.0.10.20-1.el6.noarch 12/18
Verifying : php-mbstring-5.3.3-50.el6_10.x86_64 13/18
Verifying : php-php-gettext-1.0.12-1.el6.noarch 14/18
Verifying : php-gd-5.3.3-50.el6_10.x86_64 15/18
Verifying : php-pdo-5.3.3-50.el6_10.x86_64 16/18
Verifying : php-bcmath-5.3.3-50.el6_10.x86_64 17/18
Verifying : dejavu-fonts-common-2.33-1.el6.noarch 18/18
Installed:
phpMyAdmin.noarch 0:4.0.10.20-1.el6
Dependency Installed:
dejavu-fonts-common.noarch 0:2.33-1.el6 dejavu-sans-fonts.noarch 0:2.33-1.el6 libtidy.x86_64 0:0.99.0-19.20070615.1.el6 php-bcmath.x86_64 0:5.3.3-50.el6_10
php-common.x86_64 0:5.3.3-50.el6_10 php-fedora-autoloader.noarch 0:1.0.1-2.el6 php-gd.x86_64 0:5.3.3-50.el6_10 php-mbstring.x86_64 0:5.3.3-50.el6_10
php-mcrypt.x86_64 0:5.3.3-5.el6 php-mysql.x86_64 0:5.3.3-50.el6_10 php-pdo.x86_64 0:5.3.3-50.el6_10 php-php-gettext.noarch 0:1.0.12-1.el6
php-process.x86_64 0:5.3.3-50.el6_10 php-tcpdf.noarch 0:6.2.26-1.el6 php-tcpdf-dejavu-sans-fonts.noarch 0:6.2.26-1.el6 php-tidy.x86_64 0:5.3.3-50.el6_10
php-xml.x86_64 0:5.3.3-50.el6_10
Complete!
Posted by yujiro このページの先頭に戻る
- VMをundefineできない場合の対処
- cpanflute2でエラーになる場合の対処
- シェルスクリプトをバイナリ化する「shc」
- OpenSSLで文字列を暗号化・複号化する方法
- sshログインに時間がかかる場合の対処
- vi/vimで範囲指定して置換する方法
- vi/vimでマークした行に移動する方法
- vi/vimで複数行を一括削除する方法
- LinuxでOSキャッシュをクリアする方法
- lessで検索文字列だけを表示する方法
- tailコマンドでファイルがローテートされても追従する方法
- svnでファイルやディレクトリを削除する方法
- phpMyAdminで「unknown system variable 'lc_messages'」となる場合の対処
- Linux(CentOS)でapxsがみつからない場合の対処
- PHP7.3とApacheを連携させる方法
トラックバックURL
コメントする
greeting