![]() Both return 'ERROR: xz compression not available'. I tried: yum install tcl yum install expect. If you don’t already have it, you can install xz using yum. I am trying to install expect package on my ClearOS server. But IMHO, youre missing a lot more than dev PHP on your system. Getting around this is as simple as using the xz binary to first decompress the file, and then tar to extract it. If this still not working post result of yum search php70. Try `tar -help' or `tar -usage' for more information. Note that this is a capital “J” and not a lowercase “j” which would be used to specify bzip2 compression. On newer versions of tar, you can simply replace the z with a J to use the correct (de)compression library, but if you have version 1.15.1 or earlier, you’ll find that this doesn’t work either. Tar: Error exit delayed from previous errors If you try the same thing using a tar.xz file, you’ll find that it doesn’t work. Extracting them is as simple as passing xzf to tar. Traditionally compressed archive files are distributed on Linux systems as tar.gz files which use gzip for compression. The post How to fix “Error: xz compression not available” in CentOS and cPanel & WHM upgrade appeared first on Bobcares.This guide will show you how to extract a tar.xz file on CentOS or RedHat, and probably other flavors of Linux as well. 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. Re-run the server upgrade or upcp (in cPanel) So I removed them and the yum is working again. The error was caused by the foreign repositories that I have added hoping they will contain tcl and expect packages. You can check if it worked by listing the repositories using: # yum repolistĤ. 1 Answer Sorted by: 0 Alright, I've fixed the problem. battle Error: xz compression not available in CentOS & cPanel/WHM. # yum -enablerepo=extras install epel-release battle plans en masse xz not found consider. Then enable CentOS Extras (in case it’s disabled), and freshly install EPEL repo. ![]() Replace the XXX with your architecture and CentOS version. Remove all cached epel files from Yum # rm -rf /var/cache/yum/XXX/XXX/epel around the problem Found 41 pre-existing rpmdb problem(s), yum check. Remove EPEL packagesįirst the incompatible package needs to be removed by: # yum remove epel-release I did this on a CentOS 6 server, but it looks like the procedure is the same. 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. So, the package manager YUM uses a compression utility called xz to unpack the files. 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. 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. ![]() provides outsourced hosting support to web hosting companies. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |