Hi,
I’m trying to add an EPEL7 channel in SUSE Manager 2.1 for CentOS 7 hosts that I’ll maintain. We have Suse Manager Expanded Support for Red Hat / CentOS support.
I added the channel and repository as usual, but syncing fails because of xz compression.
/var/log/rhn/reposync/epel7-x86_64.log has
['/usr/bin/spacewalk-repo-sync', '--channel', 'epel7-x86_64', '--type', 'yum', '--non-interactive', '']
Unexpected error: <class 'yum.Errors.MiscError'>
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/spacewalk/satellite_tools/reposync.py", line 173, in sync
self.updateChannelChecksumType(plugin.get_md_checksum_type())
File "/usr/lib64/python2.6/site-packages/spacewalk/satellite_tools/repo_plugins/yum_src.py", line 189,
in get_md_checksum_type
if 'primary' in self.repo.repoXML.repoData:
File "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1461, in <lambda>
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1452, in _getRepoXML
self._loadRepoXML(text=self)
File "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1442, in _loadRepoXML
return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
File "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1418, in _groupLoadRepoXML
self._commonRetrieveDataMD(mdtypes)
File "/usr/lib64/python2.6/site-packages/yum/yumRepo.py", line 1402, in _commonRetrieveDataMD
local = misc.decompress(dl_local)
File "/usr/lib64/python2.6/site-packages/yum/misc.py", line 1096, in decompress
_decompress_chunked(filename, out, ztype)
File "/usr/lib64/python2.6/site-packages/yum/misc.py", line 742, in _decompress_chunked
raise Errors.MiscError, msg
[B]MiscError: xz compression not available[/B]
Is there some trick to fix it or is EPEL7 unsupported in SUSE Manager 2.1? I only found this thread https://www.redhat.com/archives/spacewalk-list/2014-July/msg00142.htmlabout getting EPEL 7 working on Spacewalk 2.1, but I couldn’t find a matching pyliblzma package.
With best regards,
Cristian Seres