Issues Updating PHP

Issues related to applications and software problems
Post Reply
adamtw1010
Posts: 4
Joined: 2018/08/07 21:35:54

Issues Updating PHP

Post by adamtw1010 » 2018/08/07 21:41:14

I am very new to Linux, managed to update PHP on another CentOS 6.10 box but having problems here. Any advice given would be appreciated:

[root@server ~]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: bay.uchicago.edu
* epel: mirror.steadfastnet.com
* extras: mirror.riverfrontnetworks.com
* remi-php72: mirror.bebout.net
* remi-safe: mirror.bebout.net
* updates: repos.mia.quadranet.com
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-49.el6 will be updated
---> Package php.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: httpd-mmn = 20120211x8664 for package: php-7.2.8-1.el 7.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: ph p-7.2.8-1.el7.remi.x86_64
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-7.2.8-1.el7. remi.x86_64
---> Package php-cli.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-cli.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: ph p-cli-7.2.8-1.el7.remi.x86_64
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-cli-7.2.8-1. el7.remi.x86_64
---> Package php-common.x86_64 0:5.3.3-49.el6 will be updated
--> Processing Dependency: php(api) = 20090626 for package: rrdtool-php-1.3.8-10 .el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: graphviz-php-2.26.0- 10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: rrdtool-php-1.3 .8-10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: graphviz-php-2. 26.0-10.el6.x86_64
---> Package php-common.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: php-json(x86-64) = 7.2.8-1.el7.remi for package: php- common-7.2.8-1.el7.remi.x86_64
---> Package php-devel.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-devel.x86_64 0:7.2.8-1.el7.remi will be an update
---> Package php-gd.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-gd.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: gd-last(x86-64) >= 2.1.1 for package: php-gd-7.2.8-1. el7.remi.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: php-gd-7.2.8-1.e l7.remi.x86_64
--> Processing Dependency: libgd.so.3()(64bit) for package: php-gd-7.2.8-1.el7.r emi.x86_64
---> Package php-ldap.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-ldap.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libsasl2.so.3()(64bit) for package: php-ldap-7.2.8-1. el7.remi.x86_64
---> Package php-mbstring.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-mbstring.x86_64 0:7.2.8-1.el7.remi will be an update
---> Package php-mcrypt.x86_64 0:5.3.3-5.el6 will be obsoleted
---> Package php-mysql.x86_64 0:5.3.3-49.el6 will be obsoleted
---> Package php-mysqlnd.x86_64 0:7.2.8-1.el7.remi will be obsoleting
---> Package php-pdo.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-pdo.x86_64 0:7.2.8-1.el7.remi will be an update
---> Package php-pear.noarch 1:1.9.4-5.el6 will be updated
---> Package php-pear.noarch 1:1.10.5-6.el7.remi will be an update
--> Processing Dependency: php-posix for package: 1:php-pear-1.10.5-6.el7.remi.n oarch
--> Processing Dependency: php-composer(fedora/autoloader) for package: 1:php-pe ar-1.10.5-6.el7.remi.noarch
---> Package php-pecl-mcrypt.x86_64 0:1.0.1-6.el7.remi.7.2 will be obsoleting
---> Package php-snmp.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-snmp.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: php-snmp-7.2.8 -1.el7.remi.x86_64
---> Package php-xml.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-xml.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libxml2.so.2(LIBXML2_2.9.0)(64bit) for package: php-x ml-7.2.8-1.el7.remi.x86_64
--> Running transaction check
---> Package gd-last.x86_64 0:2.2.5-2.el7.remi will be installed
--> Processing Dependency: libtiff.so.5(LIBTIFF_4.0)(64bit) for package: gd-last -2.2.5-2.el7.remi.x86_64
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: gd-last-2 .2.5-2.el7.remi.x86_64
--> Processing Dependency: libwebp.so.4()(64bit) for package: gd-last-2.2.5-2.el 7.remi.x86_64
--> Processing Dependency: libtiff.so.5()(64bit) for package: gd-last-2.2.5-2.el 7.remi.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: gd-last-2.2.5-2. el7.remi.x86_64
---> Package php.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: httpd-mmn = 20120211x8664 for package: php-7.2.8-1.el 7.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: ph p-7.2.8-1.el7.remi.x86_64
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-7.2.8-1.el7. remi.x86_64
---> Package php-cli.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: ph p-cli-7.2.8-1.el7.remi.x86_64
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-cli-7.2.8-1. el7.remi.x86_64
---> Package php-common.x86_64 0:5.3.3-49.el6 will be updated
--> Processing Dependency: php(api) = 20090626 for package: rrdtool-php-1.3.8-10 .el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: graphviz-php-2.26.0- 10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: rrdtool-php-1.3 .8-10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: graphviz-php-2. 26.0-10.el6.x86_64
---> Package php-fedora-autoloader.noarch 0:1.0.0-1.el6 will be installed
---> Package php-gd.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libpng15.so.15()(64bit) for package: php-gd-7.2.8-1.e l7.remi.x86_64
---> Package php-json.x86_64 0:7.2.8-1.el7.remi will be installed
---> Package php-ldap.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libsasl2.so.3()(64bit) for package: php-ldap-7.2.8-1. el7.remi.x86_64
---> Package php-process.x86_64 0:7.2.8-1.el7.remi will be installed
---> Package php-snmp.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: php-snmp-7.2.8 -1.el7.remi.x86_64
---> Package php-xml.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libxml2.so.2(LIBXML2_2.9.0)(64bit) for package: php-x ml-7.2.8-1.el7.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-cli-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
Error: Package: php-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
Error: Package: graphviz-php-2.26.0-10.el6.x86_64 (@base)
Requires: php(zend-abi) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(zend-abi) = 20090626
Updated By: php-common-7.2.8-1.el7.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
Available: php-common-7.2.7-1.el7.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
Error: Package: php-cli-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libargon2.so.0()(64bit)
Error: Package: rrdtool-php-1.3.8-10.el6.x86_64 (@base)
Requires: php(zend-abi) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(zend-abi) = 20090626
Updated By: php-common-7.2.8-1.el7.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
Available: php-common-7.2.7-1.el7.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
Error: Package: graphviz-php-2.26.0-10.el6.x86_64 (@base)
Requires: php(api) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(api) = 20090626
Updated By: php-common-7.2.8-1.el7.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Available: php-common-7.2.7-1.el7.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Error: Package: gd-last-2.2.5-2.el7.remi.x86_64 (remi-safe)
Requires: libtiff.so.5(LIBTIFF_4.0)(64bit)
Error: Package: gd-last-2.2.5-2.el7.remi.x86_64 (remi-safe)
Requires: libtiff.so.5()(64bit)
Error: Package: php-ldap-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libsasl2.so.3()(64bit)
Error: Package: php-gd-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libpng15.so.15()(64bit)
Error: Package: php-snmp-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libnetsnmp.so.31()(64bit)
Error: Package: gd-last-2.2.5-2.el7.remi.x86_64 (remi-safe)
Requires: libpng15.so.15(PNG15_0)(64bit)
Error: Package: php-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libargon2.so.0()(64bit)
Error: Package: php-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: httpd-mmn = 20120211x8664
Installed: httpd-2.2.15-69.el6.centos.x86_64 (@base)
httpd-mmn = 20051115
Error: Package: php-xml-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libxml2.so.2(LIBXML2_2.9.0)(64bit)
Error: Package: rrdtool-php-1.3.8-10.el6.x86_64 (@base)
Requires: php(api) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(api) = 20090626
Updated By: php-common-7.2.8-1.el7.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Available: php-common-7.2.7-1.el7.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Error: Package: gd-last-2.2.5-2.el7.remi.x86_64 (remi-safe)
Requires: libpng15.so.15()(64bit)
Error: Package: gd-last-2.2.5-2.el7.remi.x86_64 (remi-safe)
Requires: libwebp.so.4()(64bit)
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
glibc-2.12-1.212.el6.i686 has missing requires of glibc-common = ('0', '2.12', '1.212.el6')
glibc-2.17-55.el6.x86_64 is a duplicate with glibc-2.12-1.212.el6.i686
[root@server ~]#

User avatar
TrevorH
Forum Moderator
Posts: 23204
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Issues Updating PHP

Post by TrevorH » 2018/08/07 22:42:39

You've installed the CentOS 7 version of the remi repo. Run yum clean all then uninstall the -release package and install the correct CentOS 6 one instead.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

adamtw1010
Posts: 4
Joined: 2018/08/07 21:35:54

Re: Issues Updating PHP

Post by adamtw1010 » 2018/08/08 02:28:27

That did not solve the issue.

[root@server ~]# rpm -Uvh remi-release-6.rpm
warning: remi-release-6.rpm: Header V4 DSA/SHA1 Signature, key ID 00f97f56: NOKE Y
Preparing... ########################################### [100%]
package remi-release-6.9-3.el6.remi.noarch is already installed
[root@server ~]# yum repolist
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: linux.cc.lehigh.edu
* epel: mirror.steadfastnet.com
* extras: ftpmirror.your.org
* remi-php72: repo1.ash.innoscale.net
* remi-safe: repo1.ash.innoscale.net
* updates: mirror.hackingand.coffee
repo id repo name status
base CentOS-6 - Base 6,713
epel Extra Packages for Enterprise Linux 6 - x86_64 12,518
extras CentOS-6 - Extras 31
remi-php72 Remi's PHP 7.2 RPM repository for Enterprise Linux 6 - x86_64 325
remi-safe Safe Remi's RPM repository for Enterprise Linux 6 - x86_64 3,006
updates CentOS-6 - Updates 58
repolist: 22,651
[root@server ~]# yum repolist
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: linux.cc.lehigh.edu
* epel: mirror.steadfastnet.com
* extras: ftpmirror.your.org
* remi-php72: repo1.ash.innoscale.net
* remi-safe: repo1.ash.innoscale.net
* updates: mirror.hackingand.coffee
repo id repo name status
base CentOS-6 - Base 6,713
epel Extra Packages for Enterprise Linux 6 - x86_64 12,518
extras CentOS-6 - Extras 31
remi-php72 Remi's PHP 7.2 RPM repository for Enterprise Linux 6 - x86_64 325
remi-safe Safe Remi's RPM repository for Enterprise Linux 6 - x86_64 3,006
updates CentOS-6 - Updates 58
repolist: 22,651
[root@server ~]# yum install php
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: linux.cc.lehigh.edu
* epel: mirror.steadfastnet.com
* extras: ftpmirror.your.org
* remi-php72: repo1.ash.innoscale.net
* remi-safe: repo1.ash.innoscale.net
* updates: mirror.hackingand.coffee
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-49.el6 will be updated
--> Processing Dependency: php(x86-64) = 5.3.3-49.el6 for package: php-devel-5.3 .3-49.el6.x86_64
---> Package php.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: php-common(x86-64) = 7.2.8-1.el7.remi for package: ph p-7.2.8-1.el7.remi.x86_64
--> Processing Dependency: php-cli(x86-64) = 7.2.8-1.el7.remi for package: php-7 .2.8-1.el7.remi.x86_64
--> Processing Dependency: httpd-mmn = 20120211x8664 for package: php-7.2.8-1.el 7.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: ph p-7.2.8-1.el7.remi.x86_64
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-7.2.8-1.el7. remi.x86_64
--> Running transaction check
---> Package php.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: httpd-mmn = 20120211x8664 for package: php-7.2.8-1.el 7.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: ph p-7.2.8-1.el7.remi.x86_64
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-7.2.8-1.el7. remi.x86_64
---> Package php-cli.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-cli.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: ph p-cli-7.2.8-1.el7.remi.x86_64
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-cli-7.2.8-1. el7.remi.x86_64
---> Package php-common.x86_64 0:5.3.3-49.el6 will be updated
--> Processing Dependency: php(api) = 20090626 for package: rrdtool-php-1.3.8-10 .el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: graphviz-php-2.26.0- 10.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-mcrypt-5.3.3-5.e l6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: rrdtool-php-1.3 .8-10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: graphviz-php-2. 26.0-10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-mcrypt-5.3. 3-5.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-mb string-5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-gd -5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-pd o-5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-xm l-5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-sn mp-5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-ld ap-5.3.3-49.el6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-my sql-5.3.3-49.el6.x86_64
---> Package php-common.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: php-json(x86-64) = 7.2.8-1.el7.remi for package: php- common-7.2.8-1.el7.remi.x86_64
---> Package php-devel.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-devel.x86_64 0:7.2.8-1.el7.remi will be an update
--> Running transaction check
---> Package php.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: httpd-mmn = 20120211x8664 for package: php-7.2.8-1.el 7.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: ph p-7.2.8-1.el7.remi.x86_64
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-7.2.8-1.el7. remi.x86_64
---> Package php-cli.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: ph p-cli-7.2.8-1.el7.remi.x86_64
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-cli-7.2.8-1. el7.remi.x86_64
---> Package php-common.x86_64 0:5.3.3-49.el6 will be updated
--> Processing Dependency: php(api) = 20090626 for package: rrdtool-php-1.3.8-10 .el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: graphviz-php-2.26.0- 10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: rrdtool-php-1.3 .8-10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: graphviz-php-2. 26.0-10.el6.x86_64
---> Package php-gd.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-gd.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: gd-last(x86-64) >= 2.1.1 for package: php-gd-7.2.8-1. el7.remi.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: php-gd-7.2.8-1.e l7.remi.x86_64
--> Processing Dependency: libgd.so.3()(64bit) for package: php-gd-7.2.8-1.el7.r emi.x86_64
---> Package php-json.x86_64 0:7.2.8-1.el7.remi will be installed
---> Package php-ldap.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-ldap.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libsasl2.so.3()(64bit) for package: php-ldap-7.2.8-1. el7.remi.x86_64
---> Package php-mbstring.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-mbstring.x86_64 0:7.2.8-1.el7.remi will be an update
---> Package php-mcrypt.x86_64 0:5.3.3-5.el6 will be obsoleted
---> Package php-mysql.x86_64 0:5.3.3-49.el6 will be obsoleted
---> Package php-mysqlnd.x86_64 0:7.2.8-1.el7.remi will be obsoleting
---> Package php-pdo.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-pdo.x86_64 0:7.2.8-1.el7.remi will be an update
---> Package php-pecl-mcrypt.x86_64 0:1.0.1-6.el7.remi.7.2 will be obsoleting
---> Package php-snmp.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-snmp.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: php-snmp-7.2.8 -1.el7.remi.x86_64
---> Package php-xml.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-xml.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libxml2.so.2(LIBXML2_2.9.0)(64bit) for package: php-x ml-7.2.8-1.el7.remi.x86_64
--> Running transaction check
---> Package gd-last.x86_64 0:2.2.5-2.el7.remi will be installed
--> Processing Dependency: libtiff.so.5(LIBTIFF_4.0)(64bit) for package: gd-last -2.2.5-2.el7.remi.x86_64
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: gd-last-2 .2.5-2.el7.remi.x86_64
--> Processing Dependency: libwebp.so.4()(64bit) for package: gd-last-2.2.5-2.el 7.remi.x86_64
--> Processing Dependency: libtiff.so.5()(64bit) for package: gd-last-2.2.5-2.el 7.remi.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: gd-last-2.2.5-2. el7.remi.x86_64
---> Package php.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: httpd-mmn = 20120211x8664 for package: php-7.2.8-1.el 7.remi.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: ph p-7.2.8-1.el7.remi.x86_64
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-7.2.8-1.el7. remi.x86_64
---> Package php-cli.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: ph p-cli-7.2.8-1.el7.remi.x86_64
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-cli-7.2.8-1. el7.remi.x86_64
---> Package php-common.x86_64 0:5.3.3-49.el6 will be updated
--> Processing Dependency: php(api) = 20090626 for package: rrdtool-php-1.3.8-10 .el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: graphviz-php-2.26.0- 10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: rrdtool-php-1.3 .8-10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: graphviz-php-2. 26.0-10.el6.x86_64
---> Package php-gd.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libpng15.so.15()(64bit) for package: php-gd-7.2.8-1.e l7.remi.x86_64
---> Package php-ldap.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libsasl2.so.3()(64bit) for package: php-ldap-7.2.8-1. el7.remi.x86_64
---> Package php-snmp.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: php-snmp-7.2.8 -1.el7.remi.x86_64
---> Package php-xml.x86_64 0:7.2.8-1.el7.remi will be an update
--> Processing Dependency: libxml2.so.2(LIBXML2_2.9.0)(64bit) for package: php-x ml-7.2.8-1.el7.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-cli-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
Error: Package: php-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
Error: Package: graphviz-php-2.26.0-10.el6.x86_64 (@base)
Requires: php(zend-abi) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(zend-abi) = 20090626
Updated By: php-common-7.2.8-1.el7.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
Available: php-common-7.2.7-1.el7.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
Error: Package: php-cli-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libargon2.so.0()(64bit)
Error: Package: rrdtool-php-1.3.8-10.el6.x86_64 (@base)
Requires: php(zend-abi) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(zend-abi) = 20090626
Updated By: php-common-7.2.8-1.el7.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
Available: php-common-7.2.7-1.el7.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
Error: Package: graphviz-php-2.26.0-10.el6.x86_64 (@base)
Requires: php(api) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(api) = 20090626
Updated By: php-common-7.2.8-1.el7.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Available: php-common-7.2.7-1.el7.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Error: Package: gd-last-2.2.5-2.el7.remi.x86_64 (remi-safe)
Requires: libtiff.so.5(LIBTIFF_4.0)(64bit)
Error: Package: gd-last-2.2.5-2.el7.remi.x86_64 (remi-safe)
Requires: libtiff.so.5()(64bit)
Error: Package: php-ldap-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libsasl2.so.3()(64bit)
Error: Package: php-gd-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libpng15.so.15()(64bit)
Error: Package: php-snmp-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libnetsnmp.so.31()(64bit)
Error: Package: gd-last-2.2.5-2.el7.remi.x86_64 (remi-safe)
Requires: libpng15.so.15(PNG15_0)(64bit)
Error: Package: php-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libargon2.so.0()(64bit)
Error: Package: php-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: httpd-mmn = 20120211x8664
Installed: httpd-2.2.15-69.el6.centos.x86_64 (@base)
httpd-mmn = 20051115
Error: Package: php-xml-7.2.8-1.el7.remi.x86_64 (remi-php72)
Requires: libxml2.so.2(LIBXML2_2.9.0)(64bit)
Error: Package: rrdtool-php-1.3.8-10.el6.x86_64 (@base)
Requires: php(api) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(api) = 20090626
Updated By: php-common-7.2.8-1.el7.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Available: php-common-7.2.7-1.el7.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Error: Package: gd-last-2.2.5-2.el7.remi.x86_64 (remi-safe)
Requires: libpng15.so.15()(64bit)
Error: Package: gd-last-2.2.5-2.el7.remi.x86_64 (remi-safe)
Requires: libwebp.so.4()(64bit)
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
glibc-2.12-1.212.el6.i686 has missing requires of glibc-common = ('0', '2.12', ' 1.212.el6')
glibc-2.17-55.el6.x86_64 is a duplicate with glibc-2.12-1.212.el6.i686

User avatar
TrevorH
Forum Moderator
Posts: 23204
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Issues Updating PHP

Post by TrevorH » 2018/08/08 12:32:46

You didn't yum clean all
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
jlehtone
Posts: 1959
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Issues Updating PHP

Post by jlehtone » 2018/08/08 13:13:15

"Update PHP". How much?

CentOS 6 has package centos-release-scl-rh. That defines centos-sclo-rh repo. That repo contains rh-php70* packages. A PHP 7.0.27.
Those packages do not "update" PHP. They install different version "on the side". Thus they are not mutually exclusive. They are a Software Collection (SCL).

Code: Select all

** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
glibc-2.12-1.212.el6.i686 has missing requires of glibc-common = ('0', '2.12', ' 1.212.el6')
glibc-2.17-55.el6.x86_64 is a duplicate with glibc-2.12-1.212.el6.i686
That is scary. CentOS 6 does not have glibc-2.17-55. It should be glibc-2.12-1.212.
You have replaced the glibc! Practically every program depends on the glibc.

The error shows a conflict between 64bit (x86_64) and 32bit (i686) glibc.
Overall, most systems do not need the i686 package at all. Only legacy 32bit binaries require the 32bit library packages.
If the 32bit libraries are installed, they must have same version as the 64bit package.


PS. Do not install or removes with rpm. Use only yum. Yum can install from local file.

adamtw1010
Posts: 4
Joined: 2018/08/07 21:35:54

Re: Issues Updating PHP

Post by adamtw1010 » 2018/08/08 14:43:13

Thanks everyone. I have made some progress, but still have these package errors:

[root@server ~]# yum install https://dl.fedoraproject.org/pub/epel/epe l-release-latest-6.noarch.rpm
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
epel-release-latest-6.noarch.rpm | 14 kB 00:00
Examining /var/tmp/yum-root-ucfyxu/epel-release-latest-6.noarch.rpm: epel-releas e-6-8.noarch
/var/tmp/yum-root-ucfyxu/epel-release-latest-6.noarch.rpm: does not update insta lled package.
Error: Nothing to do
[root@server ~]# yum install http://rpms.remirepo.net/enterprise/remi- release-6.rpm
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
remi-release-6.rpm | 15 kB 00:00
Examining /var/tmp/yum-root-ucfyxu/remi-release-6.rpm: remi-release-6.9-3.el6.re mi.noarch
/var/tmp/yum-root-ucfyxu/remi-release-6.rpm: does not update installed package.
Error: Nothing to do
[root@server ~]# yum install yum-utils
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.wdc1.us.leaseweb.net
* epel: mirror.steadfastnet.com
* extras: mirrors.liquidweb.com
* remi-php72: mirror.bebout.net
* remi-safe: mirror.bebout.net
* updates: mirror.steadfastnet.com
Package yum-utils-1.1.30-41.el6.noarch already installed and latest version
Nothing to do
[root@server ~]# yum-config-manager --enable remi-php72
Loaded plugins: fastestmirror, refresh-packagekit
=============================== repo: remi-php72 ===============================
[remi-php72]
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/6
baseurl =
cache = 0
cachedir = /var/cache/yum/x86_64/6/remi-php72
cost = 1000
enabled = True
enablegroups = True
exclude =
failovermethod = priority
ftp_disable_epsv = False
gpgcadir = /var/lib/yum/repos/x86_64/6/remi-php72/gpgcadir
gpgcakey =
gpgcheck = True
gpgdir = /var/lib/yum/repos/x86_64/6/remi-php72/gpgdir
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
hdrdir = /var/cache/yum/x86_64/6/remi-php72/headers
http_caching = all
includepkgs =
keepalive = True
mdpolicy = group:primary
mediaid =
metadata_expire = 21600
metalink =
mirrorlist = http://cdn.remirepo.net/enterprise/6/php72/mirror
mirrorlist_expire = 86400
name = Remi's PHP 7.2 RPM repository for Enterprise Linux 6 - x86_64
old_base_cache_dir =
password =
persistdir = /var/lib/yum/repos/x86_64/6/remi-php72
pkgdir = /var/cache/yum/x86_64/6/remi-php72/packages
proxy = False
proxy_dict =
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert =
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 30.0
username =

[root@server ~]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: mirror.wdc1.us.leaseweb.net
* epel: mirror.steadfastnet.com
* extras: mirrors.liquidweb.com
* remi-php72: repo1.dal.innoscale.net
* remi-safe: repo1.dal.innoscale.net
* updates: mirror.steadfastnet.com
remi-php72 | 2.9 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-49.el6 will be updated
---> Package php.x86_64 0:7.2.8-1.el6.remi will be an update
--> Processing Dependency: libargon2.so.0()(64bit) for package: php-7.2.8-1.el6. remi.x86_64
---> Package php-cli.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-cli.x86_64 0:7.2.8-1.el6.remi will be an update
---> Package php-common.x86_64 0:5.3.3-49.el6 will be updated
--> Processing Dependency: php(api) = 20090626 for package: rrdtool-php-1.3.8-10 .el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: graphviz-php-2.26.0- 10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: rrdtool-php-1.3 .8-10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: graphviz-php-2. 26.0-10.el6.x86_64
---> Package php-common.x86_64 0:7.2.8-1.el6.remi will be an update
--> Processing Dependency: php-json(x86-64) = 7.2.8-1.el6.remi for package: php- common-7.2.8-1.el6.remi.x86_64
---> Package php-devel.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-devel.x86_64 0:7.2.8-1.el6.remi will be an update
---> Package php-gd.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-gd.x86_64 0:7.2.8-1.el6.remi will be an update
--> Processing Dependency: gd-last(x86-64) >= 2.1.1 for package: php-gd-7.2.8-1. el6.remi.x86_64
--> Processing Dependency: libgd.so.3()(64bit) for package: php-gd-7.2.8-1.el6.r emi.x86_64
---> Package php-ldap.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-ldap.x86_64 0:7.2.8-1.el6.remi will be an update
---> Package php-mbstring.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-mbstring.x86_64 0:7.2.8-1.el6.remi will be an update
---> Package php-mcrypt.x86_64 0:5.3.3-5.el6 will be obsoleted
---> Package php-mysql.x86_64 0:5.3.3-49.el6 will be obsoleted
---> Package php-mysqlnd.x86_64 0:7.2.8-1.el6.remi will be obsoleting
---> Package php-pdo.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-pdo.x86_64 0:7.2.8-1.el6.remi will be an update
---> Package php-pear.noarch 1:1.9.4-5.el6 will be updated
---> Package php-pear.noarch 1:1.10.5-6.el6.remi will be an update
--> Processing Dependency: php-posix for package: 1:php-pear-1.10.5-6.el6.remi.n oarch
--> Processing Dependency: php-composer(fedora/autoloader) for package: 1:php-pe ar-1.10.5-6.el6.remi.noarch
---> Package php-pecl-mcrypt.x86_64 0:1.0.1-6.el6.remi.7.2 will be obsoleting
---> Package php-snmp.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-snmp.x86_64 0:7.2.8-1.el6.remi will be an update
---> Package php-xml.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-xml.x86_64 0:7.2.8-1.el6.remi will be an update
---> Package remi-release.noarch 0:6.9-3.el6.remi will be updated
---> Package remi-release.noarch 0:6.9-4.el6.remi will be an update
--> Running transaction check
---> Package gd-last.x86_64 0:2.2.5-2.el6.remi will be installed
--> Processing Dependency: libwebp.so.5()(64bit) for package: gd-last-2.2.5-2.el 6.remi.x86_64
---> Package libargon2.x86_64 0:20161029-2.el6.remi will be installed
---> Package php-common.x86_64 0:5.3.3-49.el6 will be updated
--> Processing Dependency: php(api) = 20090626 for package: rrdtool-php-1.3.8-10 .el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: graphviz-php-2.26.0- 10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: rrdtool-php-1.3 .8-10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: graphviz-php-2. 26.0-10.el6.x86_64
---> Package php-fedora-autoloader.noarch 0:1.0.0-1.el6 will be installed
---> Package php-json.x86_64 0:7.2.8-1.el6.remi will be installed
---> Package php-process.x86_64 0:7.2.8-1.el6.remi will be installed
--> Running transaction check
---> Package libwebp.x86_64 0:0.4.3-3.el6 will be installed
---> Package php-common.x86_64 0:5.3.3-49.el6 will be updated
--> Processing Dependency: php(api) = 20090626 for package: rrdtool-php-1.3.8-10 .el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: graphviz-php-2.26.0- 10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: rrdtool-php-1.3 .8-10.el6.x86_64
--> Processing Dependency: php(zend-abi) = 20090626 for package: graphviz-php-2. 26.0-10.el6.x86_64
--> Finished Dependency Resolution
Error: Package: graphviz-php-2.26.0-10.el6.x86_64 (@base)
Requires: php(api) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(api) = 20090626
Updated By: php-common-7.2.8-1.el6.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Available: php-common-7.2.7-1.el6.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Error: Package: rrdtool-php-1.3.8-10.el6.x86_64 (@base)
Requires: php(api) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(api) = 20090626
Updated By: php-common-7.2.8-1.el6.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Available: php-common-7.2.7-1.el6.remi.x86_64 (remi-php72)
php(api) = 20170718-64
Error: Package: graphviz-php-2.26.0-10.el6.x86_64 (@base)
Requires: php(zend-abi) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(zend-abi) = 20090626
Updated By: php-common-7.2.8-1.el6.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
Available: php-common-7.2.7-1.el6.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
Error: Package: rrdtool-php-1.3.8-10.el6.x86_64 (@base)
Requires: php(zend-abi) = 20090626
Removing: php-common-5.3.3-49.el6.x86_64 (@base)
php(zend-abi) = 20090626
Updated By: php-common-7.2.8-1.el6.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
Available: php-common-7.2.7-1.el6.remi.x86_64 (remi-php72)
php(zend-abi) = 20170718-64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@server ~]#

adamtw1010
Posts: 4
Joined: 2018/08/07 21:35:54

Re: Issues Updating PHP

Post by adamtw1010 » 2018/08/08 15:51:17

Got it. Removed graphviz & rrdtool.

Post Reply