Page 1 of 1

CentOS 7.3 PHP5.6 Can not upgrade to 7.x

Posted: Sat Sep 19, 2020 9:51 am
by nangluv
Hello all guys !
My server is using CentOS 7.3 PHP5.6 via VestaCP but when I do upgrade to 7.x step by step
after the step

Code: Select all

yum update -y
and the code run and it finish with the error code :

Code: Select all

Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: libclamav.so.7()(64bit)
Removing: clamav-lib-0.99.2-1.el7.x86_64 (@epel)
libclamav.so.7()(64bit)
Updated By: clamav-lib-0.102.4-1.el7.x86_64 (epel)
~libclamav.so.9()(64bit)
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: libclamav.so.7(CLAMAV_PRIVATE)(64bit)
Removing: clamav-lib-0.99.2-1.el7.x86_64 (@epel)
libclamav.so.7(CLAMAV_PRIVATE)(64bit)
Updated By: clamav-lib-0.102.4-1.el7.x86_64 (epel)
~libclamav.so.9(CLAMAV_PRIVATE)(64bit)
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: clamav-filesystem = 0.99.2-1.el7
Removing: clamav-filesystem-0.99.2-1.el7.noarch (@epel)
clamav-filesystem = 0.99.2-1.el7
Updated By: clamav-filesystem-0.102.4-1.el7.noarch (epel)
clamav-filesystem = 0.102.4-1.el7
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: clamav-lib = 0.99.2-1.el7
Removing: clamav-lib-0.99.2-1.el7.x86_64 (@epel)
clamav-lib = 0.99.2-1.el7
Updated By: clamav-lib-0.102.4-1.el7.x86_64 (epel)
clamav-lib = 0.102.4-1.el7
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: libclamav.so.7(CLAMAV_PUBLIC)(64bit)
Removing: clamav-lib-0.99.2-1.el7.x86_64 (@epel)
libclamav.so.7(CLAMAV_PUBLIC)(64bit)
Updated By: clamav-lib-0.102.4-1.el7.x86_64 (epel)
~libclamav.so.9(CLAMAV_PUBLIC)(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
in now, i'm atleast can not check the php version :

Code: Select all

php -v
->

Code: Select all

-bash: php: command not found
I hope someone can help me this problem !
Thanks all guys
Thanks vestacp forum .