Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一旦我yum install epel-release在新的 Centos7 安装上成功(epel-release-7-6 或 epel-release-7-8),然后任何后续yum update或yum install以错误消息结束xz compression not available。我尝试重新安装几次,我遇到了同样的问题。这一切都发生在 chroot 中,但我认为这无关紧要。
yum install epel-release
yum update
yum install
xz compression not available
请帮忙 :)
pyliblzma之前安装epel-release解决了我的问题。epel-release如果已安装,请删除。
pyliblzma
epel-release
yum remove -y epel-release yum install -y pyliblzma yum install -y epel-release