![]() Is there some trick to fix it or is EPEL7 unsupported in SUSE Manager 2.1? I only found this thread getting EPEL 7 working on Spacewalk 2.1, but I couldn’t find a matching pyliblzma package. _decompress_chunked(filename, out, ztype)įile "/usr/lib64/python2.6/site-packages/yum/misc.py", line 742, in _decompress_chunked Return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())įile "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1418, in _groupLoadRepoXMLįile "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1402, in _commonRetrieveDataMDįile "/usr/lib64/python2.6/site-packages/yum/misc.py", line 1096, in decompress RepoXML = property(fget=lambda self: self._getRepoXML(),įile "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1452, in _getRepoXMLįile "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1442, in _loadRepoXML If 'primary' in :įile "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1461, in Self.updateChannelChecksumType(plugin.get_md_checksum_type())įile "/usr/lib64/python2.6/site-packages/spacewalk/satellite_tools/repo_plugins/yum_src.py", line 189, The xz command is a data compression utility, similar to gzip, that reduces the size of selected files and manages files in the. ![]() var/log/rhn/reposync/epel7-x86_64.log hasįile "/usr/lib64/python2.6/site-packages/spacewalk/satellite_tools/reposync.py", line 173, in sync I added the channel and repository as usual, but syncing fails because of xz compression. We have Suse Manager Expanded Support for Red Hat / CentOS support. Click here to talk to our server experts.I’m trying to add an EPEL7 channel in SUSE Manager 2.1 for CentOS 7 hosts that I’ll maintain. 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) ![]() You can check if it worked by listing the repositories using: # yum repolist 4. ![]() # yum -enablerepo=extras install epel-release 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 Remove EPEL packagesįirst the incompatible package needs to be removed by: # yum remove epel-release 2. 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. 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. It displays the error if the given file is not a valid. provides Server support to web hosting companies. There are several tools that you can use to compress files in Linux such as gzip, 7zip.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |