현재 CentOS 6.7에서 PHP 5.6을 사용하고 있습니다.
설치하려고 하는데
냠 php-snmp 설치
계속 받고 있어요
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.atlanticmetro.net
* epel: mirror.math.princeton.edu
* extras: mirror.5ninesolutions.com
* updates: mirrors.seas.harvard.edu
* webtatic: us-east.repo.webtatic.com
https://us-east.repo.webtatic.com/yum/el6/x86_64/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://uk.repo.webtatic.com/yum/el6/x86_64/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://sp.repo.webtatic.com/yum/el6/x86_64/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
Resolving Dependencies
--> Running transaction check
---> Package php-snmp.x86_64 0:5.3.3-47.el6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-47.el6 for package: php-snmp-5.3.3-47.el6.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-47.el6 will be installed
--> Processing Conflict: php56w-common-5.6.22-1.w6.x86_64 conflicts php-common < 5.5.0
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package php56w-common.x86_64 0:5.6.22-1.w6 will be updated
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-mbstring-5.6.22-1.w6.x86_64
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-opcache-5.6.22-1.w6.x86_64
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-fpm-5.6.22-1.w6.x86_64
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-pdo-5.6.22-1.w6.x86_64
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-cli-5.6.22-1.w6.x86_64
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-xml-5.6.22-1.w6.x86_64
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-5.6.22-1.w6.x86_64
---> Package php56w-common.x86_64 0:5.6.23-1.w6 will be an update
--> Running transaction check
---> Package php56w.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w.x86_64 0:5.6.23-1.w6 will be an update
---> Package php56w-cli.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w-cli.x86_64 0:5.6.23-1.w6 will be an update
---> Package php56w-fpm.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w-fpm.x86_64 0:5.6.23-1.w6 will be an update
---> Package php56w-mbstring.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w-mbstring.x86_64 0:5.6.23-1.w6 will be an update
---> Package php56w-opcache.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w-opcache.x86_64 0:5.6.23-1.w6 will be an update
---> Package php56w-pdo.x86_64 0:5.6.22-1.w6 will be updated
--> Processing Dependency: php56w-pdo(x86-64) = 5.6.22-1.w6 for package: php56w-pgsql-5.6.22-1.w6.x86_64
---> Package php56w-pdo.x86_64 0:5.6.23-1.w6 will be an update
---> Package php56w-xml.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w-xml.x86_64 0:5.6.23-1.w6 will be an update
--> Running transaction check
---> Package php56w-pgsql.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w-pgsql.x86_64 0:5.6.23-1.w6 will be an update
--> Processing Conflict: php56w-common-5.6.23-1.w6.x86_64 conflicts php-common < 5.6
--> Finished Dependency Resolution
Error: php56w-common conflicts with php-common-5.3.3-47.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
이것을 어떻게 피할 수 있습니까?
고쳐 쓰다
@symcbean: 제안해주셔서 감사합니다. 나는 노력했다
냠 설치 php56w-snmp -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.atlanticmetro.net
* epel: mirror.math.princeton.edu
* extras: mirror.stjschools.org
* updates: mirrors.seas.harvard.edu
* webtatic: us-east.repo.webtatic.com
https://us-east.repo.webtatic.com/yum/el6/x86_64/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://uk.repo.webtatic.com/yum/el6/x86_64/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://sp.repo.webtatic.com/yum/el6/x86_64/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
Resolving Dependencies
--> Running transaction check
---> Package php56w-snmp.x86_64 0:5.6.23-1.w6 will be installed
--> Processing Dependency: php56w-common(x86-64) = 5.6.23-1.w6 for package: php56w-snmp-5.6.23-1.w6.x86_64
--> Running transaction check
---> Package php56w-common.x86_64 0:5.6.22-1.w6 will be updated
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-mbstring-5.6.22-1.w6.x86_64
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-opcache-5.6.22-1.w6.x86_64
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-fpm-5.6.22-1.w6.x86_64
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-pdo-5.6.22-1.w6.x86_64
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-cli-5.6.22-1.w6.x86_64
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-xml-5.6.22-1.w6.x86_64
--> Processing Dependency: php56w-common(x86-64) = 5.6.22-1.w6 for package: php56w-5.6.22-1.w6.x86_64
---> Package php56w-common.x86_64 0:5.6.23-1.w6 will be an update
--> Running transaction check
---> Package php56w.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w.x86_64 0:5.6.23-1.w6 will be an update
---> Package php56w-cli.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w-cli.x86_64 0:5.6.23-1.w6 will be an update
---> Package php56w-fpm.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w-fpm.x86_64 0:5.6.23-1.w6 will be an update
---> Package php56w-mbstring.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w-mbstring.x86_64 0:5.6.23-1.w6 will be an update
---> Package php56w-opcache.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w-opcache.x86_64 0:5.6.23-1.w6 will be an update
---> Package php56w-pdo.x86_64 0:5.6.22-1.w6 will be updated
--> Processing Dependency: php56w-pdo(x86-64) = 5.6.22-1.w6 for package: php56w-pgsql-5.6.22-1.w6.x86_64
---> Package php56w-pdo.x86_64 0:5.6.23-1.w6 will be an update
---> Package php56w-xml.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w-xml.x86_64 0:5.6.23-1.w6 will be an update
--> Running transaction check
---> Package php56w-pgsql.x86_64 0:5.6.22-1.w6 will be updated
---> Package php56w-pgsql.x86_64 0:5.6.23-1.w6 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================================================
Installing:
php56w-snmp x86_64 5.6.23-1.w6 webtatic 32 k
Updating for dependencies:
php56w x86_64 5.6.23-1.w6 webtatic 2.7 M
php56w-cli x86_64 5.6.23-1.w6 webtatic 2.6 M
php56w-common x86_64 5.6.23-1.w6 webtatic 1.2 M
php56w-fpm x86_64 5.6.23-1.w6 webtatic 1.3 M
php56w-mbstring x86_64 5.6.23-1.w6 webtatic 944 k
php56w-opcache x86_64 5.6.23-1.w6 webtatic 100 k
php56w-pdo x86_64 5.6.23-1.w6 webtatic 94 k
php56w-pgsql x86_64 5.6.23-1.w6 webtatic 95 k
php56w-xml x86_64 5.6.23-1.w6 webtatic 148 k
Transaction Summary
===================================================================================================================================================================================
Install 1 Package(s)
Upgrade 9 Package(s)
Total download size: 9.2 M
Downloading Packages:
https://us-east.repo.webtatic.com/yum/el6/x86_64/php56w-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://uk.repo.webtatic.com/yum/el6/x86_64/php56w-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://sp.repo.webtatic.com/yum/el6/x86_64/php56w-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://us-east.repo.webtatic.com/yum/el6/x86_64/php56w-cli-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://uk.repo.webtatic.com/yum/el6/x86_64/php56w-cli-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://sp.repo.webtatic.com/yum/el6/x86_64/php56w-cli-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://us-east.repo.webtatic.com/yum/el6/x86_64/php56w-common-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://uk.repo.webtatic.com/yum/el6/x86_64/php56w-common-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://sp.repo.webtatic.com/yum/el6/x86_64/php56w-common-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://us-east.repo.webtatic.com/yum/el6/x86_64/php56w-fpm-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://uk.repo.webtatic.com/yum/el6/x86_64/php56w-fpm-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://sp.repo.webtatic.com/yum/el6/x86_64/php56w-fpm-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://us-east.repo.webtatic.com/yum/el6/x86_64/php56w-mbstring-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://uk.repo.webtatic.com/yum/el6/x86_64/php56w-mbstring-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://sp.repo.webtatic.com/yum/el6/x86_64/php56w-mbstring-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://us-east.repo.webtatic.com/yum/el6/x86_64/php56w-opcache-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://uk.repo.webtatic.com/yum/el6/x86_64/php56w-opcache-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://sp.repo.webtatic.com/yum/el6/x86_64/php56w-opcache-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://us-east.repo.webtatic.com/yum/el6/x86_64/php56w-pdo-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://uk.repo.webtatic.com/yum/el6/x86_64/php56w-pdo-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://sp.repo.webtatic.com/yum/el6/x86_64/php56w-pdo-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://us-east.repo.webtatic.com/yum/el6/x86_64/php56w-pgsql-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://uk.repo.webtatic.com/yum/el6/x86_64/php56w-pgsql-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://sp.repo.webtatic.com/yum/el6/x86_64/php56w-pgsql-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://us-east.repo.webtatic.com/yum/el6/x86_64/php56w-snmp-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://uk.repo.webtatic.com/yum/el6/x86_64/php56w-snmp-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://sp.repo.webtatic.com/yum/el6/x86_64/php56w-snmp-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://us-east.repo.webtatic.com/yum/el6/x86_64/php56w-xml-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://uk.repo.webtatic.com/yum/el6/x86_64/php56w-xml-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
https://sp.repo.webtatic.com/yum/el6/x86_64/php56w-xml-5.6.23-1.w6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid
Trying other mirror.
Error Downloading Packages:
php56w-common-5.6.23-1.w6.x86_64: failure: php56w-common-5.6.23-1.w6.x86_64.rpm from webtatic: [Errno 256] No more mirrors to try.
php56w-mbstring-5.6.23-1.w6.x86_64: failure: php56w-mbstring-5.6.23-1.w6.x86_64.rpm from webtatic: [Errno 256] No more mirrors to try.
php56w-snmp-5.6.23-1.w6.x86_64: failure: php56w-snmp-5.6.23-1.w6.x86_64.rpm from webtatic: [Errno 256] No more mirrors to try.
php56w-xml-5.6.23-1.w6.x86_64: failure: php56w-xml-5.6.23-1.w6.x86_64.rpm from webtatic: [Errno 256] No more mirrors to try.
php56w-pgsql-5.6.23-1.w6.x86_64: failure: php56w-pgsql-5.6.23-1.w6.x86_64.rpm from webtatic: [Errno 256] No more mirrors to try.
php56w-cli-5.6.23-1.w6.x86_64: failure: php56w-cli-5.6.23-1.w6.x86_64.rpm from webtatic: [Errno 256] No more mirrors to try.
php56w-fpm-5.6.23-1.w6.x86_64: failure: php56w-fpm-5.6.23-1.w6.x86_64.rpm from webtatic: [Errno 256] No more mirrors to try.
php56w-5.6.23-1.w6.x86_64: failure: php56w-5.6.23-1.w6.x86_64.rpm from webtatic: [Errno 256] No more mirrors to try.
php56w-pdo-5.6.23-1.w6.x86_64: failure: php56w-pdo-5.6.23-1.w6.x86_64.rpm from webtatic: [Errno 256] No more mirrors to try.
php56w-opcache-5.6.23-1.w6.x86_64: failure: php56w-opcache-5.6.23-1.w6.x86_64.rpm from webtatic: [Errno 256] No more mirrors to try.
답변1
시스템에 비표준 PHP가 설치되어 있습니다. 이를 종료하고 CENTOS 배포판으로 교체한 다음 php-snmp rpm을 설치하거나 기존 PHP를 유지하고 yum install php56w-snmp
("w" 참고)