The post How to fix “Error: xz compression not available” in CentOS and cPanel & WHM upgrade appeared first on Bobcares. Click here to talk to our server experts. In case something is still going wrong, we’ll be happy to sort it out for you. Then re-start the upgrade process, and all should go well. I googled and found viewtopic.phpf13&t50736 But it didn't seem to make a difference. Since then I haven't been able to run a yum update to get the latest packages. Re-run the server upgrade or upcp (in cPanel) yum update giving Error: xz compression not available by Nixnoob Tue 5:43 pm Hi there, I have a centos 6 box that I just installed and installed solusvm with openvz. You can check if it worked by listing the repositories using: # yum repolistĤ. # yum -enablerepo=extras install epel-release yum install -enablereporemi,remi-php70 php. Then enable CentOS Extras (in case it’s disabled), and freshly install EPEL repo. I thought that I would make PHP of CentOS 6.5 on Vagrant 7 series, and when I put epel and remi and yum install it came out like this. Replace the XXX with your architecture and CentOS version. Remove all cached epel files from Yum # rm -rf /var/cache/yum/XXX/XXX/epel Remove EPEL packagesįirst the incompatible package needs to be removed by: # yum remove epel-release However, it could be different from one server to another. When faced with this issue, we generally follow this process. This causes an incompatible version of xz utility to be used, and it results in this error. In some servers, we’ve seen the wrong version of EPEL is configured in YUM config files. XZ compression utility is provided by Extra Packages for Enterprise Linux (EPEL) repository of CentOS. The xz command is a data compression utility, similar to gzip, that reduces the size of selected files and manages files in the. So, the package manager YUM uses a compression utility called xz to unpack the files. This is what 'cat /etc/centos-release' says Code: Select all CentOS Linux release (Core) This is what 'rpm -q epel-release' say Code: Select all epel-release-7-9. See how we help web hosting companies What causes Error: xz compression not available?Īll RedHat compatible servers such as CentOS, RHEL and Fedora use a compression algorithm called LZMA/LZMA2 to build their RPM packages. Code: Select all sudo yum update I got an error Code: Select all Error: xz compression not available Then I already reinstalled and recheck if I did something wrong. In some cPanel/WHM and CentOS servers, we’ve faced the error Error: xz compression not available when performing a distribution upgrade. As part of our work, we help web hosting companies keep their servers upgraded and patched to the latest version. Why yum update is failing with 'Error: xz compression not available' Solution Verified - Updated at 12:00 AM - English Issue yum update fails with error, Raw yum update Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, : subscription-manager This system is receiving updates from Red Hat Subscription Management. Best to take care of it. provides outsourced hosting support to web hosting companies. You may at times install all other packages via yum update –skip-broken, but it will still leave some trouble on the system. ** Found 41 pre-existing rpmdb problem(s), 'yum check' output follows: You could try using -skip-broken to work around the problem This manifests in a yum update going awry, telling us something along the lines of this:Įrror: Package: ntp-4.2.2.x86_64 ntpdate = 4.2.2 From time to time, the yum package manager may encounter issues with duplicate packages that are erroneously installed on a system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |