for anyone who comes across this thread I found the solution here
support.cpanel.net
run yum downgrade xz xz-devel xz-libs

Easyapache4 reporting failure due to an error with pacakage xz-lzma-compat
Symptoms When attempting to install or update packages for Easyapache4 the following error is reported. Error: Package: xz-lzma-compat-5.2.2-1.el7.x86_64 (base) Requires: xz = 5.2.2-1.el7 Installed...
run yum downgrade xz xz-devel xz-libs