Short tip: YUM error: 'xz compression not available'
While importing the recent EPEL7 YUM repositories I stumbled upon the following error:
1# /usr/bin/spacewalk-repo-sync --channel epel-el7-x86_64
2> --url http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/
3> --type yum -c epel-el7-x86_64
4Repo URL: http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/
5ERROR: xz compression not available
The solution was pretty easy - the following Python library was missing:
1# yum install pyliblzma
The next import was working like a charm. 🙂